iOS localization
-
I resolved my problem.
- Remove NSLocationAlwaysUsageDescription from Info.plist
- Create en.lproj/InfoPlist.strings and ru.lproj/InfoPlist.strings
- Add to .pro file this:
TRANSLATE_ru.files = $$PWD/ru.lproj/InfoPlist.strings TRANSLATE_ru.path = ru.lproj QMAKE_BUNDLE_DATA += TRANSLATE_ru TRANSLATE_en.files = $$PWD/en.lproj/InfoPlist.strings TRANSLATE_en.path = en.lproj QMAKE_BUNDLE_DATA += TRANSLATE_en
-
I have also tried above solution but it is not taking value from en.lproj/InfoPlist.strings. Can anybody explain what I am missing?
-
I have also tried above solution but it is not taking value from en.lproj/InfoPlist.strings. Can anybody explain what I am missing?
@Taher-Lakdawala Maybe your file is in the wrong format, check the ";" symbol