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

Displaying localized information from _data/ entries #211

Closed
awvwgk opened this issue Feb 21, 2021 · 1 comment
Closed

Displaying localized information from _data/ entries #211

awvwgk opened this issue Feb 21, 2021 · 1 comment
Labels
i18n Related to internationalisation and translations

Comments

@awvwgk
Copy link
Member

awvwgk commented Feb 21, 2021

One open issue for the localization are the entries in _data, some of those are automatically generated, like the fpm registry and therefore hard to translate. Other entries like the in press part of the learning resources might be a suitable candidate for localized information, i.e. displaying French books only on the French subtree.

Note that the default language, English, has only access to the English translation file, while all other languages have at least access to the English translation file and their own translation file, in case we want to pull off some tricks with liquid for this.

Localizing _data entries in the translation file would lead to a significant bloat, but we might be able to add additional localized _data directories in the language subtrees in the _i18n directory. A possible solution would be to use subtrees in the _data dir to store localized versions of data and global versions on the toplevel.

_data
|-- en/
|-- es/
|-- fr/
@awvwgk awvwgk added the i18n Related to internationalisation and translations label Feb 21, 2021
@awvwgk
Copy link
Member Author

awvwgk commented Aug 19, 2022

This is resolved now with the new webpage (see #415)

@awvwgk awvwgk closed this as completed Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Related to internationalisation and translations
Projects
None yet
Development

No branches or pull requests

1 participant