Set custom localization file

How should I set the custom localization file?
There is customLocalizationFileName property in ZoomSDKInitParams object, but it doesn’t work for both variants: ‘ZoomLocalizable’, ‘ZoomLocalizable.strings’
What did I miss?

Thanks!

Hi @anton.yereshchenko, thanks for the post.

Can you also please try including the path of the file and let me know if it still isn’t working?

Thanks!

Hi @jon.zoom, thanks for the replay.

I have tried to use the path:
let stringPath = Bundle.main.path(forResource: "Localizable1", ofType: "strings")
but it doesn’t help.
Is there one more way to set the custom localisation file?

Thanks!

Hi @anton.yereshchenko,

The file name you are using should not contain the file extension, just the name (i.e. if your file was MyStrings.strings, you would use MyStrings for this property).

If you are still experiencing issues, please ensure that your file is correctly placed in your project directory so that the SDK can properly locate it. If you are unsure, take a look at where our sample app has this file.

Thanks!

Thank you @jon.zoom!

You are very welcome!

Please don’t hesitate to reach out for any additional assistance in the future. :slightly_smiling_face:

Thanks!

1 Like