Contributing Translations to the Project #148
MDeLuise
started this conversation in
Show and tell
Replies: 1 comment
-
Hello, I suggest to host the translation project on Hosted Weblate. They offer free plans for FOSS software. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Plant-it community!
In this discussion, we'll explore how you can contribute to the project by adding translations using Flutter's internationalization features, specifically the Application Resource Bundle.
How to Contribute
Let's walk through an example of adding a new language translation, such as Spanish, to the project:
Identify Language Code: First, determine the language code for the desired translation. For Spanish, the language code is
es
.Create Translation File: Within the
lib/l10n
folder of the project, create a new file namedapp_es.arb
.Copy and Modify Content: Copy the content of the existing translation file
app_en.arb
into the newly createdapp_es.arb
file. Then, modify the values of the translations as needed to provide accurate translations for the Spanish language.Resources and Documentation
For further guidance and information, refer to the official documentation on Flutter's internationalization features and the Application Resource Bundle specification:
Contributing translations not only helps make the project accessible to a wider audience but also enriches the user experience for users around the world. Thank you for your contributions!
Beta Was this translation helpful? Give feedback.
All reactions