-
-
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
Localization for as many languages as possible #1474
base: master
Are you sure you want to change the base?
Commits on Jul 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 556103e - Browse repository at this point
Copy the full SHA 556103eView commit details
Commits on Jul 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4ca587c - Browse repository at this point
Copy the full SHA 4ca587cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c854fee - Browse repository at this point
Copy the full SHA c854feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 975aad6 - Browse repository at this point
Copy the full SHA 975aad6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17d3ce6 - Browse repository at this point
Copy the full SHA 17d3ce6View commit details -
chore(i18n): Restore 'hello world' test/example localizations
This reverts commit 17d3ce6 and bits of previous commits.
Configuration menu - View commit details
-
Copy full SHA for 23e515b - Browse repository at this point
Copy the full SHA 23e515bView commit details -
chore(i18n): Drop 'und' localizations
We *want* to fail with an error if localized strings are requested for non-languages, so providing generic English stand-ins seems like a counter-productive move. Additionally for anybody starting a new localization it would be better to start with a language similar to their target because implementation details might differ. With simple key/value lookups it might seem like any language could be a template for any other, but Fluent is much more flexible than that.
Configuration menu - View commit details
-
Copy full SHA for cc25d19 - Browse repository at this point
Copy the full SHA cc25d19View commit details
Commits on Jul 30, 2022
-
chore(i18n): Drop comments in FTL sources
While lovingly hand crafted, they don't reflect the structure of how we're doing to use keys as a namespace and they are getting in the way of automatically reprocessing these files. Also we don't really want to include commented keys for untranslated terms because that is one more thing to maintain and get out of sync without necessarily providing a benefit. We want people to reference similar languages when translating. ```console sed -i -e '/^#/d' *.ftl sed -i -e '/^$/d' *.ftl ```
Configuration menu - View commit details
-
Copy full SHA for 71cd3f9 - Browse repository at this point
Copy the full SHA 71cd3f9View commit details -
chore(i18n): Drop untranslated en keys from other languages
```console sed -i -e '/Rerun SILE/d' *.ftl git checkout -- i18n/en.ftl ```
Configuration menu - View commit details
-
Copy full SHA for 4879a9e - Browse repository at this point
Copy the full SHA 4879a9eView commit details -
chore(i18n): Drop use of messages as terms
In the future on an as-needed basis these could be converted to terms, but so far there is no use case and doing this should be a translators implementation choice not something SILE suggests. Prepend something to all files, then: ```vim silent normal! 0gg/^appendix df=xd$nf{v%p silent normal! 0gg/^part df=xd$nf{v%p silent normal! 0gg/^chapter df=xd$nf{v%p ``` Then touchoup eu, hr, lt
Configuration menu - View commit details
-
Copy full SHA for 706d8e0 - Browse repository at this point
Copy the full SHA 706d8e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8d3d3 - Browse repository at this point
Copy the full SHA ab8d3d3View commit details
Commits on Aug 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f21adfb - Browse repository at this point
Copy the full SHA f21adfbView commit details