Skip to content

Internationalization and Localization - Part 1#171

Merged
7h30n3 merged 10 commits intoOPENER-next:masterfrom
yulieth9109:master
Jun 6, 2023
Merged

Internationalization and Localization - Part 1#171
7h30n3 merged 10 commits intoOPENER-next:masterfrom
yulieth9109:master

Conversation

@yulieth9109
Copy link
Copy Markdown
Contributor

This pull is to Include the internationalization package and the
Generated arb files with the keys of the text translated.

@7h30n3 7h30n3 changed the title Hiwi Translations Part 1 Internationalization and Localization - Part 1 May 25, 2023
@7h30n3
Copy link
Copy Markdown
Member

7h30n3 commented May 31, 2023

All keys should be English, not a mix between English and German like about_quellcode.

@7h30n3
Copy link
Copy Markdown
Member

7h30n3 commented May 31, 2023

Numbering keys should be avoided as it doesn't give the appropriate context, where and how the key is used.

Update key names to provide a better context of where will it be used
Copy link
Copy Markdown
Member

@Robbendebiene Robbendebiene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grafik

l10n.yaml Outdated
@@ -0,0 +1,3 @@
arb-dir: lib/l10n
template-arb-file: app_de.arb
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to app_en.arb

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO dependency updates should be done in another pull request.

Copy link
Copy Markdown
Member

@Robbendebiene Robbendebiene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@7h30n3 7h30n3 merged commit 857d378 into OPENER-next:master Jun 6, 2023
yulieth9109 added a commit to yulieth9109/OpenStop that referenced this pull request Aug 31, 2023
* Update main.dart
* Include intl package
* Generate keys arb file

---------

Co-authored-by: René Apitzsch <[email protected]>
Co-authored-by: Robin Thomas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants