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

feat: Public translations interface #1323

Open
wants to merge 3 commits into
base: 3.6
Choose a base branch
from

Commits on Nov 15, 2024

  1. feat: Public translations interface

    This interface was already implemented in some projects, and was now cleaned and standardised. It allows to set translate()-objects to public, so and unauthorized client is allowed to dump them without further authentication.
    
    The function /json/_translate/get_public was made available to dump translations.
    
    Example calls:
    
    - `/json/_translation/get_public` get public translations for current language
    - `/json/_translation/get_public?languages=en` for english translations
    - `/json/_translation/get_public?languages=en&languages=de` for english and german translations
    - `/json/_translation/get_public?languages=*` for all available languages
    phorward committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    37feebc View commit details
    Browse the repository at this point in the history
  2. Extended docstrings

    phorward committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    a38b915 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Add CHANGELOG entry

    phorward committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    bdf623b View commit details
    Browse the repository at this point in the history