You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/03/29 19:13:50 UTC

[GitHub] [cordova-ios] shanlin2dltk opened a new issue #1094: Localization in InfoPlist.strings

shanlin2dltk opened a new issue #1094:
URL: https://github.com/apache/cordova-ios/issues/1094


   We have certain entries in *-Info.plist file needing localizations in different languages.  Currently cordova-ios generate 12 languages by specifying 12 entries in <CFBundleLocalizations>, which in turn generates 12 folders under Resources like:
   da.lproj
   de.lproj
   en.lproj
   ...
   zh.lproj
   Under each of these folders, there is InfoPlist.strings file, which according to this [Apple documentation](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html) should store all localized strings in key value pairs.  
   
   However, the current cordova generated 12 InfoPlist.strings files don't follow the key value paradigm, instead they have a long paragraph with English and other language mixed.
   
   My question is: how do I specify key value pair in those files so that they can be localized?
   
   cordova client 9.0.0, cordova-ios 6.2.0, xcode 11.6.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] noahcooper commented on issue #1094: Localization in InfoPlist.strings

Posted by GitBox <gi...@apache.org>.
noahcooper commented on issue #1094:
URL: https://github.com/apache/cordova-ios/issues/1094#issuecomment-815975608


   You can use the plugin `cordova-plugin-localization-strings` to accomplish this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org