Different Language
leribol opened this issue · 3 comments
Same question for me.
Same question for me.
@Alb93 @fcampinho @leribol after looking at the packages that this plugin uses for both ios and android, I verified that the translations are all in the default structure of each system.
What did I do:
I installed the package https://github.com/kelvinhokk/cordova-plugin-localization-strings
and I created my own translation strings, based on the name of the strings that the packages use, in the end, the cordova-plugin-localization-strings package configuration file looks like this:
{
"locale": {
"ios": ["pt-BR"],
"android": ["pt-rBR"]
},
"config_ios" : {
"Photo Album": "Galeria de Fotos",
"Camera": "Camêra",
"Cancel": "Cancelar"
},
"config_android" : {
"crop__saving": "Salvando imagem...",
"crop__wait": "Por favor, aguarde...",
"crop__pick_error": "Sem fontes de imagem disponíveis",
"crop__done": "CONCLUIR",
"crop__cancel": "CANCELAR"
}
}
remembering that my default language is Brazilian Portuguese, but as described in the documentation of the cordova-plugin-localization-strings package you can create in as many languages as you want, for me it worked perfectly!