#197 Translation file handling instructions
Merged 2 years ago by pingou. Opened 3 years ago by copperi.
copperi/fedocal document_translation_flow  into  master

file added
+24
@@ -0,0 +1,24 @@ 

+ Run following command in the same location where babel.cfg is located 

+ 

+ extract translatable strings from fedocal directory

+ ---------------

+ 

+ pybabel extract -F babel.cfg -k _l -o messages.pot fedocal

+ 

+ 

+ Create new language translation, if it does not exist (here adding Finnish as an example)

+ ---------------

+ 

+ pybabel init -i messages.pot -d fedocal/translations -l fi

+ 

+ 

+ Update existing translation strings for (any) languages

+ ---------------

+ 

+ pybabel update -i messages.pot -d fedocal/translations

+ 

+     

+ Compile existing translations (make the file used by the program itself)

+ ---------------

+ 

+ pybabel compile -d fedocal/translations

Added translation file handling instructions

rebased onto 704de14

2 years ago

Pull-Request has been merged by pingou

2 years ago
Metadata