PortableObjectTemplate Files for ELF 32-bit LSB executables

For efforts in internationalising Puppy and solving problems in this area
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files

#21 Post by L18L »

po files available for
ca de es fr hu id it nl no_NO pl pt_BR ru sv_SE
in directory po of source at
http://freecode.com/projects/xdialog

Or to translate yourself
mkdir -p /usr/share/doc/nls/Xdialog
and copy the following Xdialog.pot to /usr/share/doc/nls/Xdialog/Xdialog.pot

Code: Select all

# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2002-03-21 13:29+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/interface.h:80
msgid "OK"
msgstr ""

#: src/interface.h:81
msgid "Cancel"
msgstr ""

#: src/interface.h:82
msgid "Yes"
msgstr ""

#: src/interface.h:83
msgid "No"
msgstr ""

#: src/interface.h:84
msgid "Help"
msgstr ""

#: src/interface.h:85
msgid "Previous"
msgstr ""

#: src/interface.h:86
msgid "Next"
msgstr ""

#: src/interface.h:87
msgid "Print"
msgstr ""

#: src/interface.h:88
msgid "Add"
msgstr ""

#: src/interface.h:89
msgid "Remove"
msgstr ""

#: src/interface.h:90
msgid "Hours : Minutes : Seconds"
msgstr ""

#: src/interface.h:91
msgid "Time stamp"
msgstr ""

#: src/interface.h:92
msgid "Date - Time"
msgstr ""

#: src/interface.h:93
msgid "Log message"
msgstr ""

#: src/interface.h:94
msgid "Hide typing"
msgstr ""

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PortableObjectTemplate Files for ELF 32-bit LSB executables

#22 Post by L18L »

Ready to use translations exist for the languges:
de en_GB es fr hi nl pt_BR sv

at http://ayttm.sourceforge.net/files.php
download Source .bz2 tarball
click and extract directory po
copy:

Code: Select all

cp <your_language>.gmo /usr/share/locale/<your_language>/LC_MESSAGES/ayttm.mo
for other languages
make directory:

Code: Select all

mkdir -p /usr/share/doc/nls/ayttm

and download attached ayttm.pot to /usr/share/doc/nls/ayttm/
Then use momanger for translation of ayttm

use chat program (launch from desktop icon) in your language.
Have fun :D
Attachments
ayttm.pot.gz
remove .gz
(56.57 KiB) Downloaded 931 times

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#23 Post by Bert »

That's great L18L,

It's always nice to get a translation ready-made, like was the case for nl.

However, there was lots of Fuzzy and the translation was not complete.
Now corrected :)

Thanks.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#24 Post by Bert »

Hi all,

I translated PupSnap from the pot file (because impossible to translate in Momanager)...no luck.. PupScan remains in English.

I then looked at the actual script files (version 2.2.1) and it looks like nothing is internationalized.

Am I missing the obvious again :lol:
Thanks for any pointers!

Bert
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#25 Post by L18L »

Bert wrote:Hi all,

I translated PupSnap from the pot file (because impossible to translate in Momanager)...no luck.. PupScan remains in English.

I then looked at the actual script files (version 2.2.1) and it looks like nothing is internationalized.

Am I missing the obvious again :lol:
Thanks for any pointers!

Bert
Where did you get a pot file from if nothing is internationalized? :roll:

Obviously radky is staying with "english only"
At [url=http://www.murga-linux.com/puppy/viewtopic.php?t=65235&start=3]puppy localization solved [/url] 01micko wrote:I suppose what we need to do is apply the standards, that is, everyone who scripts should learn to use gettext and where the locale file should be stored. It's not difficult. Even I roughly learnt some of it!

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#26 Post by Bert »

Where did you get a pot file from if nothing is internationalized? Rolling Eyes
Hi L18L,

In this very thread, page one!

http://murga-linux.com/puppy/viewtopic. ... 738#684738

It also has a pot file for PupControl, which I would like to translate.

I searched in the Spanish forum and downloaded the Spanish version, made by Victor, and discovered he translated it directly in situ. (no gettext)

Pupsnap shows up in MoManager, but when clicked, it exits with an error.

So I opened the pot file in Poedit and made a .po and .mo.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

pupsnap

#27 Post by L18L »

Bert wrote:...Pupsnap shows up in MoManager, but when clicked, it exits with an error....
Can you upload this version please?
I'd like to see this error.

.... and maybe you can convince radky to use internationalized versions

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#28 Post by Bert »

Attached is the pot file.
Attachments
pupsnap.pot.gz
fake .gz.
(5.28 KiB) Downloaded 547 times
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#29 Post by vicmz »

Here are gettext versions of PupSnap, PupShutdown and PupClockset:
http://www.puppylinuxstuff.meownplanet.net/vicmz
Rodin.s gettexted an older version of PupControl for Slacko, but right now I'm posting from mobile so I'll look for it later.
Radky says the GUI of his apps gets too expanded when translated, that's why he usually offers separate gettext versions when available.
See also:
http://www.murga-linux.com/puppy/viewtopic.php?t=87264
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

separate gettexted version

#30 Post by L18L »

vicmz wrote:...Radky says the GUI of his apps gets too expanded when translated, that's why he usually offers separate gettext versions when available.

...looks like radky has not really understood puppy's internationisation and gettext
:cry:

..or maybe he just does not want his apps making the way into woof :roll:

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#31 Post by vicmz »

At some point he is right. The GUI does expand -- when it's shown in a non-English language. At some places text doesn't fit the buttons (see pictures below), that's why PupClockset has abbreviations in the button labels, there are tooltips anyway.

I uploaded the PupControl gettexted by rodin.s (.pot included in the PET) to the same link above, along with a pupcontrol_pinstall.pot to translate the pinstall. There are also the PETs for DeskSetup 0.8 and WM Switcher 0.19 gettexted by rodin.s and L18L some time ago.
Attachments
Screenshot_2013-10-22_15_05_32.png
(129.52 KiB) Downloaded 297 times
Screenshot_2013-10-22_15_04_35.png
(111.9 KiB) Downloaded 365 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#32 Post by Bert »

Thank you very much vicmz! Much appreciated.

Wouldn't it make sense a developer creates the GUI in such a way that it can accommodate the language strings from any language, no matter how long?
I confess that I have no idea how difficult this would be :wink: But some scripts/programs miraculously adopt to the length of my dutch translations, while others force me to write in almost shorthand to get everything fit in.

Something else now: wouldn't it be useful to create a new repository, containing a collection of ALL gettexted scripts/programs?
I can imagine the task of pup builders willing to internationalize not being very easy, as they have to find the gettexted versions.

As an example I discovered gettexted Psync in your repo, downloaded it and now my translation works again. The Psync version in Precise 5.7.1 is not internationalized.

So if we would have one place as "The Gettext Repo" things would likely be much easier for all involved.
It doesn't look like an impossible task to me...and I'm willing to help in its creation. What do you think?

Anyway, Victor, thanks again.!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

GUI

#33 Post by L18L »

vicmz wrote:At some point he is right. The GUI does expand -- when it's shown in a non-English language.
..and nothing is bad if/when it expands. It is good!
vicmz wrote:At some places text doesn't fit the buttons (see pictures below), that's why PupClockset has abbreviations in the button labels, there are tooltips anyway.
A good example how the translator can makes it fit (if he can)!
Good buttons are expandable: [img]http://murga-linux.com/puppy/viewtopic. ... h&id=71365[/img]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#34 Post by L18L »

Bert wrote:...Wouldn't it make sense a developer creates the GUI in such a way that it can accommodate the language strings from any language, no matter how long?
That is how IT works these days.
Bert wrote:I confess that I have no idea how difficult this would be :wink: But some scripts/programs miraculously adopt to the length of my dutch translations, while others force me to write in almost shorthand to get everything fit in.
There will always be good ones and better ones.
Bert wrote:Something else now: wouldn't it be useful to create a new repository, containing a collection of ALL gettexted scripts/programs?
I can imagine the task of pup builders willing to internationalize not being very easy, as they have to find the gettexted versions.
All scripts should be internationalized (except developer's and translator's tools) in an international operating system.
That is: no white list.
But a black list would make more sense: all script that lack internationalization.
Bert wrote:Anyway, Victor, thanks again.!
Same from me

Puppy as an international operating system, that has been my goal since I have been around here and it is reached now.

Thus it does really make no sense (it is nonsense) to keep an internationized version additionally to a non-internationalized (US of America only) version.
I think it is better to treat the not yet internationalized apps as exception

edit
Argolance BarryK don570 mcevanw rcrsn51 SFS shinobar zigbert.... they all and others internationalize their apps...so there is hope that radky will follow

edit2
Programs and scripts that are not yet internationalized

Post Reply