Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add locale support for currency format #614

Merged
merged 1 commit into from
Oct 31, 2021
Merged

Add locale support for currency format #614

merged 1 commit into from
Oct 31, 2021

Conversation

ademar111190
Copy link
Collaborator

@ademar111190 ademar111190 commented Oct 29, 2021

Default x,xx € English €x,xx Dutch € x,xx Turkish €x,xx
pt en nl tr
Greek x,xx € Cyprus's Greek €x,xx German x,xx € Austria's German € x,xx
el el-cy de de-AT

I'm using this table as reference: https://en.wikipedia.org/wiki/Language_and_the_euro#Written_conventions_for_the_euro_in_the_languages_of_EU_member_states

Fixes #598

P.S. I did not add Irish and Maltese overrides because the support on my device is incomplete so I could not test it, in theory copying the English overrides with the proper tag, ga and mt should work.

@@ -16,7 +16,6 @@ Iterable<LocalizationsDelegate<dynamic>> localizationsDelegates() {
Iterable<Locale> supportedLocales() {
return [
const Locale('en', ''),
const Locale('de', ''),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I found a bug here, different from the anytime player, the breez still doesn't support 'de' locale.

@roeierez roeierez merged commit 35d9845 into breez:master Oct 31, 2021
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.

[BD] Review fiat currency symbol placement
2 participants