-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Setup SILE interface to be localized #1374
base: master
Are you sure you want to change the base?
Conversation
This old PR never came to fruition as-is and now has conflicts. |
I'm still working on this. It's low priority but even in the last few weeks of radio silence on the issue tracker I've done work that furthers this along both inside SILE and it other library projects that will eventually make this easier. Some of the content here will be worth recovering when the rest of the pieces are in place. (Having BCP-47 locale code handling and being able to apply that to the system locale ENV vars is a major missing piece not being developed for this feature but will suddenly put it within easy reach.) |
With the tooling in place to localize, I got to thinking ... passing args to a string localizer instead of generating strings in place will actually fix the issue with unused debug messages actually slowing down our runtime. This is some initial work to swap out the internals and
a) quantify if this will enough of a gain to bother with and
b) see if it makes working with the code harder
NOT FOR CONSUMPTION, just a proof of concept.