Author |
Message |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Sat 07 Jan 2012, 16:24 Post subject:
i18n-ed Gettexted Scripts In The PET and Hardinfo. Subject description: Plus Russian lang pack. |
|
I have made gettexted scripts for Puppy for Russian lang pack but it could be used for other languages so I have made simplified PET-package with these scripts. Main pot-file (puppy.pot) consists of 2100 lines so I guess it's hard to translate but maybe it could be useful. You don't have to translate all the lines.
Also menu items could be translated by adding Name[xx]=Translation of name
More information about how to translate is here: http://murga-linux.com/puppy/viewtopic.php?p=445186#445186
I am going to try to make Ukrainian translation using this pet. I am also going to make similar pet for Wary/Racy.
Description |
Unicode in console for Russian. Could be useful for other languages. Apps like xorgwizard and xwin display messages in console.
|

Download |
Filename |
unicode-0.2.pet |
Filesize |
76.36 KB |
Downloaded |
1287 Time(s) |
Description |
pot-files for translation. Biggest one is puppy.pot (2104 lines). It's better to use poedit. See link above.
|

Download |
Filename |
pot.tar.gz |
Filesize |
78.97 KB |
Downloaded |
1273 Time(s) |
Last edited by rodin.s on Sat 18 May 2013, 06:29; edited 2 times in total
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Sat 07 Jan 2012, 16:29 Post subject:
Russian lang pack for Slacko-5.3.1. |
|
Also I have made Russian lang_pack for Slacko-5.3.1.
|
Back to top
|
|
 |
ikaros262
Joined: 11 Jan 2012 Posts: 29
|
Posted: Thu 12 Jan 2012, 22:46 Post subject:
|
|
Great! Then I can translate this .pot files to my language so that someone can make a language pack later. And is there something similar for Lucid 528? If not, how did you create the .pot files?
Last edited by ikaros262 on Sun 15 Jan 2012, 18:50; edited 1 time in total
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Fri 13 Jan 2012, 14:58 Post subject:
Lupu-5.2.8. |
|
I can make Lupu-5.2.8 version. I'll do it later.
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Sun 15 Jan 2012, 20:06 Post subject:
Slacko en español Subject description: translating Slacko to Spanish |
|
Thanks so much for this. There's a preview of my desktop in Spanish attached to this post, along with a file with my translations from your .pot files and existing translations that were originally made for Lucid, many of them either fixed or customized. So far I've translated about 55% of the main puppy.po file, but my desktop is almost totally in Spanish.
Instructions on how to use my translations along with existing ones can be found here (in Spanish).
Description |
My Slacko 5.3.1 desktop in Spanish
|

Download |
Filename |
slacko-desktop-in-spanish.png |
Filesize |
119.98 KB |
Downloaded |
1375 Time(s) |
_________________ Puppy Linux en español
Last edited by vicmz on Wed 28 Mar 2012, 23:23; edited 2 times in total
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Mon 23 Jan 2012, 14:44 Post subject:
PETs for Lupu-5.2.8.004 |
|
I have made i18n-pet and pot-files for Lupu-528.004.
Description |
Unicode in console pet is changed a bit. Script xwin is removed.
|

Download |
Filename |
unicode-0.3.pet |
Filesize |
67.57 KB |
Downloaded |
1365 Time(s) |
Description |
PET with Russian mo-files.
|

Download |
Filename |
ru_lupu528004-0.1.pet |
Filesize |
155.17 KB |
Downloaded |
1402 Time(s) |
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Mon 23 Jan 2012, 15:05 Post subject:
Additional l10n for Russian (lupu-528.004) |
|
Here is the PET with additional l10n for Russian. (applications like ROX, pmount, pmusic, gnome-mplayer etc.)
ru_base_lupu528004-0.1.pet (1018kB)
Also here is a pet for automatic setup of keyboard layouts and indication: ru-us.
ru_fbxkb_auto-0.1.pet (10.8kb)
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Wed 28 Mar 2012, 16:50 Post subject:
additional langpacks for Wary/Racy-5.2.90. |
|
I have made additional langpack for Wary/Racy-5.2.90 with some scripts that are not in official langpack. It also has gettexted binary files (tray icons). Pot-files are in /usr/share/doc/nls/lang_pack/. It is possible to regenerate puppy.pot using this commands:
Code: | cd /usr/share/doc/nls/lang_pack/puppy/
xgettext -L shell -o puppy.pot -f puppy.txt
|
It should be done after installing package and xgettext should be present as part of Shinobar's poedit or as part of devx.sfs.
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Tue 31 Jul 2012, 16:02 Post subject:
Testing new MoManager... |
|
I was testing new MoManager with support for multiple scripts for one TEXDOMAIN. I have made two PETs with the same scripts but in one with different TEXDOMAINs, and in another with one TEXTDOMAIN. These scripts are not in woof and mostly taken from PETs from previous post of this thread (work for Wary/Racy, Precise).
Description |
Russian translation in puppy.mo for all scripts.
|

Download |
Filename |
MoManager-ru_UA-defaults-chooser.tar.gz |
Filesize |
34.41 KB |
Downloaded |
1111 Time(s) |
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Sat 12 Jan 2013, 16:15 Post subject:
Additional i18n for Precise-5.4.3 and Slacko-5.4. |
|
I was working on Russian versions of Precise and Slacko and I have made these additional i18n-langpacks. Momanager and Poedit could be used for translation. It's update to previous pets so old translatons could be updated. Some internationalized apps: PupControl, desksetup, peasyscale, peasyprint, peasypdf, icon finder and so on.
Some time ago I have also internationalized hardinfo. Some parts of it are not internationalized, but mostly it is done. I used not current Puppy version, but latest from hardinfo site. I have also fixed proper distribution detection for Puppy Linux.
Source code and pot-file of Hardinfo-i18n
Description |
this one also has mo-files for Russian
|

Download |
Filename |
i18n_precise543-130105.pet |
Filesize |
116.31 KB |
Downloaded |
920 Time(s) |
Description |
|

Download |
Filename |
i18n_slacko54-121224.pet |
Filesize |
91.74 KB |
Downloaded |
921 Time(s) |
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Sat 12 Jan 2013, 19:27 Post subject:
|
|
rodin.s, you're the best! thank you
_________________ Puppy Linux en español
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Sun 13 Jan 2013, 20:54 Post subject:
|
|
I noticed most of the scripts had TEXTDOMAIN=puppy, building a 600+ string .po file using Momanager. I modified the Precise .pet file so that there are different text domains for individual programs, at least to me it's a little bit more comfortable this way. I must especially thank you for gettexting jwmconfig2, which I've been trying to do.
Description |
same as rodin.s' but with separate text domains for separate programs
|

Download |
Filename |
i18n_precise543-130105-indiv-txtdomain.pet |
Filesize |
115.86 KB |
Downloaded |
903 Time(s) |
_________________ Puppy Linux en español
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 340 Location: Ukraine
|
Posted: Mon 14 Jan 2013, 09:19 Post subject:
puppy.mo |
|
Early version of puppy.mo had 2100 lines so 600 is not that much. I also had different textdomains in the beginning but it was hard to handle them when updating so I decided to use one big textdomain. Now I have puppy.mo for Precise and puppy.mo for Slacko that are different.
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Mon 14 Jan 2013, 21:33 Post subject:
|
|
http://bkhome.org/blog2/?viewDetailed=00083
L18L wrote: | The idea of making one TEXTDOMAIN for many scripts is not bad since momanager can be used.
But I really do not know why making different pets for different official puppies and even versions should be a way to go!
In my understanding a (and my German one and only) language pack is for all woof2 (after 20120228) built puppies. |
vicmz wrote: | Actually I thought that too, but when I saw there were separate pets I thought I'd break something if I merged them. Well, as they're meant to be Woof scripts and both Slacko and Precise are made from the latest Woof I finally did merge them into one pet, setting separate text domains just because I feel I can organise translations better that way. I haven't tested in Puppies other than Precise yet (the idea is that it works in all official Puppy builds), but if you want to give it a go, here it is:
http://www.datafilehost.com/download-e54dc8e7.html
|
_________________ Puppy Linux en español
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8526 Location: Perth, Western Australia
|
Posted: Tue 15 Jan 2013, 22:13 Post subject:
Re: Additional i18n for Precise-5.4.3 and Slacko-5.4. |
|
rodin.s wrote: | I was working on Russian versions of Precise and Slacko and I have made these additional i18n-langpacks. Momanager and Poedit could be used for translation. It's update to previous pets so old translatons could be updated. Some internationalized apps: PupControl, desksetup, peasyscale, peasyprint, peasypdf, icon finder and so on.
Some time ago I have also internationalized hardinfo. Some parts of it are not internationalized, but mostly it is done. I used not current Puppy version, but latest from hardinfo site. I have also fixed proper distribution detection for Puppy Linux.
Source code and pot-file of Hardinfo-i18n |
Hi,
I tried to compile your source in Wary, but got this error:
Code: | # cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:6 (include):
include could not find load file:
GNUInstallDirs
|
So, I downloaded the latest from git, and executing "cmake .. -DCMAKE_INSTALL_PREFIX=/usr" worked, no error.
Would you be able to figure out what is wrong with your source, or alternatively, would you mind patching the latest source from git?
_________________ http://bkhome.org/news/
|
Back to top
|
|
 |
|