Replies: 7 comments 17 replies
-
|
Hey @MaxLap, thanks for using the package. Yes indeed, French currency translations are in lowercase (this is also true for many other languages). String Function(MapEntry<Iso, String> translation, TypedLocale locale)?where |
Beta Was this translation helpful? Give feedback.
-
|
@MaxLap, your requested functionality is now available in the |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much for the fast development on this. I managed to handle my need with this. Here is some feedback:
Here is the whole TypedLocaleDelegate in that I give to my I want to highlight that this is not quite a general solution since this loses the information on the proper casing. Should I ever want to display the currency's name in a sentence, then French one would start with capital letters while they shouldn't. I'm not saying I need this (I don't), just noting that there is a potential gap there. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@MaxLap, I will keep this discussion open until I'm finished with Dart packages refactoring (need to bump the SDK, update with changes in data sources, inject translations formatters in |
Beta Was this translation helpful? Give feedback.
-
|
Hey @MaxLap, just letting you know that most of the feature requests (that did not require breaking changes) and fixes are now online in
Please let me know if there is anything else you would love to see or struggle with. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
I'm closing this discussion as it looks like it's partially solved. We can open a new one in the |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
First off, thanks for the work to provide data the way you do. This is really helpful.
Right now when using french language, the names of currencies aren't capitalized in the Currency picker widget.

While it's true that they wouldn't be capitalized in a sentence, so it's important to have them in this form in the translation data, in the context of a form where it's the start of a line, it would be capitalized. I looked around and didn't find a simple way of doing that. I think I could provide a custom ItemBuilder, but that seems a bit complicated to have to rebuild the whole item's UI just to have the title capitalized.
Ideally, I think this default behavior should be changed to capitalize the first letter of the first word. But that would be backward incompatible, so maybe instead adding a parameter to dictate that would be safer. Documenting the issue with a suggested itemBuilder code could also make this situation easier to correct for users.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions