Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Host all translations in one place #7

@ojack

Description

@ojack

I am thinking it could be useful to host all of the translations within the hydra-docs repo (or possibly somewhere else), and then load them directly as raw json from github, such as in the i18next extended example: https://jsfiddle.net/jamuhl/ferfywyf/525/

Pros:

  • possible to edit text and translations without rebuilding and recompiling editor and website, as it would dynamically load each time
  • could possibly be easier to preview translations within various contexts.. i.e. using a url parameter pointing to a specific translation file could make it possible to load the page using that translation file

Cons:

  • might be a little bit slower?
  • in some cases might be harder to preview in context(?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions