Hi everybody,
Is there a way to translate labels when media.show is called ?
"Cancel", "retake", "use", "preview", etc
Thank you
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Hi everybody,
Is there a way to translate labels when media.show is called ?
"Cancel", "retake", "use", "preview", etc
Thank you
Solved :
This was my issue :
Solved with (exa in french)
build.settings
1 2 3 4 5 6 7 8 9 10 11 12 13 | settings = { iphone = { plist = { CFBundleLocalizations = { "fr" } }, }, } |
Hey @Sunny, thanks for sharing this info!
Very helpfull for me in this momment.
Just a question: You have only included the "fr" into the build.setting file and your app started to show in French language automatically, that`s all? :\
Thanks in advance.
Cheers,
Rodrigo.
Hi @Rodrigo,
Yep, that's all ! It works also with localization in others native functions such as mapview...
But "CFBundleLocalizations" supports multiple languages see here for languages designations :
1 2 3 4 5 6 | CFBundleLocalizations = { "fr", "en", "es" } |
Hi @Sunny,
Hey, thank you so much for all this explanation, really! :)
It helped a lot as I was going to start to look for this exactly subject as you`ve exposed here.
PS: I am only wondering that when you say: (It works also with localization in others native functions such as mapview...) you mean that setting the line (CFBundleLocalizations = ) into the build.setting file is sufficient to get our app "translated"/Localized automatically when using those API`s (as for media, mapview...). Sorry, but am I right? :\
Many thanks for sharing this info.
Cheers,
Rodrigo.