-
Notifications
You must be signed in to change notification settings - Fork 567
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
How to internationalize our programs? #1815
Comments
This is tricky. There is support for localization, but there is not currently any support for bundling localization resources with your program. There is a mechanism by which you can kind of make this work, though, by manually instantiating your own This does not handle other aspects of internationalization, such as number or date formatting, which is firmly in the "one day" category. |
But everything in |
Currently it seems you can only use LocalizedString::with_args to build your localization manually. You probably need to reinvent wheels again by yourself if you want to have something ergonomic to work with. |
hi all, we finished first revision of the higher level API based on For I also recommend my notes on how I believe UI should generally hook in localization bindings - raphlinus/crochet#7 and unicode-org/message-format-wg#118 The latter comes from a Unicode WG where we work on standardization of MessageFormat 2.0 which hopefully will be a straight superset of Fluent and we'll provide automated migration tools and the higher level APIs should work without changes. |
Thanks @zbraniecki, will take a look! |
No description provided.
The text was updated successfully, but these errors were encountered: