app icon indicating copy to clipboard operation
app copied to clipboard

Translate app content into Italian

Open gcarmix opened this issue 6 years ago • 8 comments

Add Italian translations to the app

Related to #21 #224

gcarmix avatar Mar 27 '20 10:03 gcarmix

I can pick up the issue, I'm italian

gcarmix avatar Mar 27 '20 10:03 gcarmix

Don't forget to create a messages_it.dart file in app/client/flutter/lib/generated/intl/

orchardbirds avatar Mar 27 '20 15:03 orchardbirds

Don't forget to create a messages_it.dart file in app/client/flutter/lib/generated/intl/

Yes, but I've seen that is generated automatically, could you tell me how to generate it?

gcarmix avatar Mar 27 '20 15:03 gcarmix

Ah then I'm afraid I don't know

orchardbirds avatar Mar 27 '20 15:03 orchardbirds

Maybe I can help Add the following dependency to the pubspec.yaml: intl_translation: ^0.17.9

Then, after adding the translated intl_it.arb file to the corresponding folder, execute the following command from the terminal: flutter packages pub run intl_translation:generate_from_arb --output-dir=lib/generated/intl --no-use-deferred-loading lib/generated/l10n.dart lib/l10n/intl_*.arb

It should work ;)

dna-f avatar Mar 27 '20 16:03 dna-f

Ops ... don't forget to add Locale('it', ''), at line 254 of the file l10n.dart so that it becomes like this Locale('es', ''), Locale('ar', ''), Locale('zh', ''), Locale('en', ''), Locale('ru', ''), Locale('fr', ''), Locale('it', ''),

dna-f avatar Mar 27 '20 16:03 dna-f

thank you @dna-f, it works!

gcarmix avatar Mar 27 '20 17:03 gcarmix

Hi everyone! Thank you so much for your support of this project (and the PRs). We're thrilled that you want to contribute to localization of the app! Just so you're aware: We’ll primarily be sourcing and managing translations from Lingo24, our translation management system, and we're only focusing on WHO's official languages (English, French, Spanish, Arabic, Russian and Chinese) for the next week or so.

We definitely need translation volunteers going forward - as our set of supported languages and locales grows, there will be lots of opportunity to contribute! Our projected needs for the next two months are in native speaker LQA and translators for languages that we cannot support on Lingo24. We apologize though that we are still in the early process of figuring out how to manage all the contributions so stay tuned for more details coming soon. Until then, please fill out the volunteer form below and we’ll get back in touch shortly.

https://forms.gle/DTqvaqh4mE7bDe5U7

@gcarmix @dna-f @orchardbirds

sapte91 avatar Mar 29 '20 18:03 sapte91