-
Notifications
You must be signed in to change notification settings - Fork 18
added basic support for Portuguese (brazil) languages #2331
Conversation
Both have to be adapted to our size of height 100px and dynamic width. |
Flag can be build from SVG files in treecounter-plattform repository e.g.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The translation to Pt-Br works well in all the devices I tested.
However, when I switch from one language to the other, it indicates a switch but the language doesn't change on the App. It still retains the language pre-selected earlier.
That is, if I start off in Portuguese Brazil for instance and request a switch to English US, it will show a switch but the language on the App will remain Portuguese Br. Basically, active translation doesn't work yet both for Android and iOS.
May be you can check this and see what the problem is.
@Chiagozie-Udeh thank you for testing. You’re right, the app demands to be killed and restarted to load another language. Supporting to change the language while running the app demands more work for which I would like to have a new issue: #2336 |
@Chiagozie-Udeh there was a bug not showing "Portuguese (Brazil)" on the native apps, but only "Portuguese (Portugal)" - please test once more. |
I will merge this only if Portuguese translation is >99% done or after I have removed "pt" again and only keep "pt-BR". |
Just tested and I could see Portuguese Brazil on the native App for the devices I checked both for Android and iOS |
I deactivated |
@norbertschuler I think permission messages still need to be translated; besides that looks good. |
Permission String are already translated, but not yet exported from LingoHub and merged into this PR - we will add them directly to the develop branch: https://translate.lingohub.com/plant-for-the-planet/dashboard/planet-app-(ios-resources)/ |
# Conflicts: # ios/TreecounterApp.xcodeproj/project.pbxproj
Fixes #2215
This is a first draft for testing on different devices with different languages. I will merge this only if Portuguese translation is >99% done or after I have removed "pt" again and only keep "pt-BR".
To-Do's:
pt-PT
is chosen insteadpt
orpt-BR
->pt-PT
is falling back topt
pt-BR
to backendpt
@Chiagozie-Udeh