kelvinhokk / cordova-plugin-localization-strings

Cordova Plugin for Localization of Strings on the App
MIT License
119 stars 106 forks source link

Allow to localize settings bundle localizations #75

Closed gwynjudd closed 2 years ago

gwynjudd commented 2 years ago

Can create localizations for the Settings.bundle. For example, in Spanish (es.json):

"settings": { "Root": { "Core Build": "Core Buil", "Core Information": "Core Informatio", "Group": "Agrupar", "Host": "Host", "Identifier": "Identificador", "Model Build": "Modelo Buil", "Model Path": "Modelo Pat", "Model Version": "Modelo Versio", "Name": "Nombre", "Revision": "Revisión", "Server Information": "Información del servidor", "Version": "Versión" } }

It will create a file such as

platforms/ios//Resources/Settings.bundle/es.lproj/Root.strings

with the correct localizations

rodrigograca31 commented 2 years ago

looks good but what about calling it settings_ios instead of settings Note that we already have config_ios and config_android

gwynjudd commented 2 years ago

looks good but what about calling it settings_ios instead of settings Note that we already have config_ios and config_android

Yeah seems like a good idea. I'll try to do that