Page 1 of 1

Slovak translation is not saved.

Posted: Sat 03 Aug 2013, 11:27
by lokotus738
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.

Posted: Sat 03 Aug 2013, 17:29
by L18L
Hello lokotus738,

recommended method for translation is using

menu > utility> momanager

in a recent official Puppy, ex: precise puppy 5.7

welcome :D

Posted: Sat 03 Aug 2013, 17:40
by lokotus738
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.

Re: Slovak translation is not saved.

Posted: Sat 03 Aug 2013, 18:00
by L18L
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

Rox filer translation

Posted: Sat 03 Aug 2013, 20:13
by rodin.s
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.

Posted: Sun 04 Aug 2013, 09:39
by lokotus738
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

Slovak translation is not saved.

Posted: Sun 04 Aug 2013, 11:03
by L18L
...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 8)

Slovak translation is not saved.

Posted: Tue 06 Aug 2013, 10:09
by L18L
Insert that line

Code: Select all

  sync #130806
in /usr/sbin/momanager
... and it should work 8)

Code: Select all

  #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 :D