Add translation support #103
Closed
Comments
Translations are now supported, with most of the implementation occuring in #680. Any outstanding work still required is tracked in separate issues. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
The CS Unplugged website should handle translations (see Django guide on translation).
Details
Online system for community translations
I have already narrowed it down to two systems for easily managing translations:
Research will be required to pick the best system to use.
Types of content to translate
There is two types of text that needs to be translated:
.po
and.mo
) can be automatically generated and retrieved by Django.topics/content
folder (within Markdown files).The second type of text requires some thought on how to easily translate this material. Two possible solutions that are worth investigating (could be many more):
Each language has it's own folder within the
topics/content/
folder. This was our initial approach, and #47 was to implement locale property on models, reading of translated data in load scripts, and retrieving of models based off locale. Downsides include:Custom tracking of how updated a file is.
Translations would be inputted on two systems (Crowdin/Transifex and Github).
Create script that creates message files from content files (see Django docs and Babel). This would allow all content to be translated in the one place. Would need to research if message files are generated before or after Verto translation. Downsides include:
Summary
This issue will require:
The text was updated successfully, but these errors were encountered: