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

reconfigure i18n for next #255

Open
dromzeh opened this issue Oct 15, 2023 · 0 comments
Open

reconfigure i18n for next #255

dromzeh opened this issue Oct 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request localization (i18n) Localization/Translation related priority: high Issue needs to be fixed ASAP

Comments

@dromzeh
Copy link
Member

dromzeh commented Oct 15, 2023

all languages and their appropriate translations are linked within the i18n repository, which is initialized as a sub-module in site: ..src/lib/i18n.

ideally, we keep the format as lang.json and not lang.ts/lang.js for translations as i'm not sure on how well crowdin's support is for those files and i don't want to break the current setup

preferred locale should be saved as a cookie, and should not have a route for lang e.g site.com/en/asset/asdf = bad

in other words: need to find a good i18n library or just write a custom one kek

@dromzeh dromzeh added enhancement New feature or request priority: high Issue needs to be fixed ASAP localization (i18n) Localization/Translation related labels Oct 15, 2023
@dromzeh dromzeh self-assigned this Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request localization (i18n) Localization/Translation related priority: high Issue needs to be fixed ASAP
Projects
None yet
Development

No branches or pull requests

1 participant