View Single Post
Old 05-21-2017, 06:34 AM   #138
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,638
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by Nicolas F View Post
Actually you just have to click on update in the toolbar or you can use update from POT file when you are in the PO file. (to configure the source you need to go to catalogue -> properties -> sources paths and add the path to the .py files to translate, but I've done it)
This small script generates the new Trad.pot file automatically, so it can be included without having to open poedit all the times:

Code:
ls *.py > salida
xgettext -f salida
rm salida
if [ -f messages.po ]
then
	mv messages.po translations/Trad.pot
fi
Quote:
Originally Posted by Nicolas F View Post
For future updates I can update the translations if you like (I will follow this thread but feel free to PM me here or on github). The easiest thing is probably to update the .po files so that translators just have to add the missing strings.
I think everybody can do this from poedit if the pot file is updated, no need you modify all of them, but as you prefer.

Last edited by Terisa de morgan; 05-21-2017 at 06:37 AM.
Terisa de morgan is offline   Reply With Quote