Author |
Message |
lokotus738
Joined: 03 Aug 2013 Posts: 3
|
Posted: Sat 03 Aug 2013, 07:27 Post subject:
Slovak translation is not saved. Subject description: Always starts at 17% |
|
Hi, i have recently come across Puppy linux and i have start some translation. As first i want to translate Rox-Filer but have some strange problems.
Even when i start a new translation (i delete lang. files in usr/local/apps/rox-filer) the translation is already at 17%, but when i translate some strings nothing is saved, every time when i start it is always at 17%
And can someone tell me how to add xml files in my language pet i have translated trash xml but they when i install lang pet on other puppy this files are untranslated.
Thx for any info.
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Sat 03 Aug 2013, 13:29 Post subject:
|
|
Hello lokotus738,
recommended method for translation is using
menu > utility> momanager
in a recent official Puppy, ex: precise puppy 5.7
welcome
|
Back to top
|
|
 |
lokotus738
Joined: 03 Aug 2013 Posts: 3
|
Posted: Sat 03 Aug 2013, 13:40 Post subject:
|
|
i am using MoManager even the latest one created by you. Forget to mention i am on latest precise, and this was happened on previous version too.
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Sat 03 Aug 2013, 14:00 Post subject:
Re: Slovak translation is not saved. Subject description: trash |
|
Let us start with this one:
lokotus738 wrote: | ...And can someone tell me how to add xml files in my language pet i have translated trash xml but they when i install lang pet on other puppy this files are untranslated. |
Which one did you translate?
/usr/local/apps/Trash/AppInfo.xml (WOOF)
/usr/local/apps/Trash/template/AppInfo.xml (WOOF)
Or both?
edit
Until tomorrow. Good night
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Sat 03 Aug 2013, 16:13 Post subject:
Rox filer translation |
|
For ROX-filer you should translate not xml but pot-file. MoManager is confusing with ROX-filer.
Some info here. You should translate pot-file making po out of it.
|
Back to top
|
|
 |
lokotus738
Joined: 03 Aug 2013 Posts: 3
|
Posted: Sun 04 Aug 2013, 05:39 Post subject:
|
|
to L18L: exactly this xml files
to rodin.s: thx for the info this solve my problem there was some sk.po i deleted it and now
everything works as should
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Sun 04 Aug 2013, 07:03 Post subject:
Slovak translation is not saved. Subject description: Trash and other *xml.in files |
|
Quote: | ...and pinstall.sh of langpack has to take the lines containing
xml:lang="your language"
in /usr/local/apps/Trash/AppInfo.xml
and merge them into /usr/local/apps/Trash/AppInfo.xml. |
...I tried to use that latest langpack in an old pup (BareBoneracy) and apps/*/AppInfo.xml.in files have not been copied!
That can narrow down the search
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Tue 06 Aug 2013, 06:09 Post subject:
Slovak translation is not saved. Subject description: Trash and other *xml.in files |
|
Insert that line
in /usr/sbin/momanager
... and it should work Code: | #130503 L18L: rename AppInfo.xml to AppInfo.xml.in for langpack (see also /usr/share/doc/langpack-template/pinstall.sh in Woof)
sync #130806
for AFILE in `ls -1 /root/langpack_${GENLANG}-${ADATE}/usr/local/apps/*/AppInfo.xml | tr '\n' ' '`
do
mv $AFILE "${AFILE}.in"
done
|
Thanks lokotus738 for reporting
|
Back to top
|
|
 |
|