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

Internationalization (I18N) #1944

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Internationalization (I18N) #1944

wants to merge 12 commits into from

Commits on Nov 4, 2023

  1. feat(i18n): draft of i18n with embedded TOML files

    Supports rfc4646 language tags in env vars.
    If region is detected (en-US, fr-CA), will try to load regional files first.
    Goutte committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    ccbdd22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6853f28 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb76695 View commit details
    Browse the repository at this point in the history
  4. feat(i18n): add make i18n_extract and make i18n_merge

    Flow is as follows:
    
        <add some new i18n.Message in code>
        make i18n_extract
        <fill the generated translations/translate.*.toml>
        make i18n_merge
        <perhaps delete translations/translate.*.toml> ?
    Goutte committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    2e90e51 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d6ed081 View commit details
    Browse the repository at this point in the history
  6. feat(i18n): translate the usage template as well

    This should keep backwards compat'.
    Goutte committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    0abea78 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ca6ece9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    64f5c4f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    102ab5b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    775014c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cdb680a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9d4b134 View commit details
    Browse the repository at this point in the history