NDS Moving Language Pairs
! Moving languages between projects
When moving language pairs, one thing to consider is whether the morphology
1. Configuration file edits (*.yaml.in)
-
locales_available: does the change result in needing new UI translations?
-
Morphology: move the morphological analyzer configs for the language pairs
-
Languages: remove and add any languages that are relevant or not
- Dictionaries: move the dictionary definitions
2. dicts/Makefile
- move FST targets in the variables. For example:
SANAT_LANGS_ANALYSERS := olo izh liv fin fkv -> SANAT_LANGS_ANALYSERS := olo fin fkv SONAD_LANGS_ANALYSERS := izh liv fin
- Do the same for _WORDS_DICTS_LEXICA and any customized lexicon targets.
3. User-friendly tags
- This is not obligatory given the more open structure of the tag files, but
4. Templates
- Copy or move any language specific templates in ./neahtta/configs/language_specific_rules/templates/
5. Providing a note to users about the move: create a file in the main
The file structure is extremely simple, and should at most contain a line of
{% trans %}We have moved some languages to <a href="http://sonad.oahpa.no/">Sonad</a>, please update your bookmarks. {% endtrans %}
This notice will be displayed under the language pair list, and on 404