-
Notifications
You must be signed in to change notification settings - Fork 4
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
I18N support + translation #18
Comments
I have started trying, and it's working well, but there are still some feature I'm unsure how to fulfill.
Temporary preview: |
I think this can be summarized as two other questions:
For the former, I want to try to make the default theme of emanote get better template generation capabilities based on language tags. I have created a discussion. For the latter, I know that I can get them through the user's browser environment But in any case these problems do not affect the translation of existing articles. |
It seems like we can't maintain a consistent directory structure across languages. I always catch duplicate errors for backlinks.
If I use the new directory structure (Chinese names), everything works fine.
I think inconsistent naming with the original files is bad, do you have any suggestions? |
@brsvh Yea, I noticed that as well. If you use I have an international trip to India later this week, so I'll be slow in responding. Feel free to join our Zulip as well for interactive conversation: https://nixos.zulipchat.com/ |
Inclined to go with this for now: #21 Later on, when Emanote itself gets native i18n support (srid/emanote#486) we can figure out better integration of top-level language layers in an unified single Emanote site. |
srid/emanote#498 resolves ambiguous links more sensibly, which would allow us to go back to 'singe notebook' approach. So |
Basic support for translation is in place. English articles are in
en/
folder. For other languages, create a similar file structure in the corresponding language folder. Translations can already happen.But the website static site generation will need to be tweaked a bit, which I'll do.
cc @brsvh for past discussion on this at juspay/flakular.in#11
Tasks
The text was updated successfully, but these errors were encountered: