Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 25 Nov 2014, 19:19
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Translate LupQ - Quickset edition of Lucid Puppy
Moderators: Lobster, MU, raffy
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 5 Posts_count   Goto page: 1, 2, 3, 4, 5 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 2579
Location: www.eussenheim.de/

PostPosted: Mon 30 Aug 2010, 09:48    Post_subject: translations using gettext system, poedit ...  

geany was sufficient for me. Exclamation
now I will take nicoedit

Edit:
just if you do not want poedit because of its size.
use msgfmt (in devx) to create .mo files.
I have done it this way

Edit: No devx available?
use attached msgfmt
msgfmt.tar.gz
Description  msgfmt for translators without devx or poedit
gz

 Download 
Filename  msgfmt.tar.gz 
Filesize  576.59 KB 
Downloaded  1307 Time(s) 
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2579
Location: www.eussenheim.de/

PostPosted: Tue 31 Aug 2010, 08:24    Post_subject: puppy desktop translated to german  

just used and translated and msgfmt`´ed

and used Laughing
puppy-desktop-de.tar.gz
Description  contains puppy-desktop.po and .mo
gz

 Download 
Filename  puppy-desktop-de.tar.gz 
Filesize  2.93 KB 
Downloaded  1223 Time(s) 
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Thu 02 Sep 2010, 03:08    Post_subject: IceWM translating problem
Sub_title: UTF-8 or non-UTF-8
 

shinobar wrote:
puppy-desktop-20100829 is made for LupQ-006, but potentially expanded to apply on other puppies. For JWM is good, but some trouble with IceWM when using non-UTF-8 encoding.

The detail:
IceWM with UTF-8 locales, such as 'fr_FR.UTF-8', shows proper translations, but with non-UTF-8 locales, shuch as 'fr_FR', breaks the translations.

The puppy-desktop can change the encoding UTF-8 or ISO-8859-1/2 if i modify the code to control the OUTPT_CHARMAP for gettext.
But the main problem is the *.desktop files has the translations in UTF-8 encoding and IceWM cannot correctly display them in its menu when the locale is non-UTF-8.
Hope someone resolve this problem regarding the IceWM.

The JWM shows the translations in the menu with no problem whether the locale is UTF-8 or non-UTF-8.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Thu 02 Sep 2010, 05:32    Post_subject:  

Bonjour à tous,
Quote:
But the main problem is the *.desktop files has the translations in UTF-8 encoding and IceWM cannot correctly display them in its menu when the locale is non-UTF-8.
Hope someone resolve this problem regarding the IceWM.

That was done for Toutou 3.01, which have both jwm and icewm.
We've modified the fixmenus file.
Cordialement Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Thu 02 Sep 2010, 07:10    Post_subject: fixmenus and icewm
Sub_title: UTF-8 and non-UTF8 problem
 

esmourguit wrote:
We've modified the fixmenus file.

Great.

EDIT: Seems not needed the attached because your fixmenus patched converts whole icewm menu from UTF-8 to ISO-8859-1.

Attached outputs ISO-8859-1 with non-UTF-8 locales. But NG for your fixmenus.
puppy-desktop-20100902.pet
Description  revised /usr/share/local/bin/fixmenus_on_locale for icewm with UTF-8 and without UTF-8.
pet

 Download 
Filename  puppy-desktop-20100902.pet 
Filesize  13.38 KB 
Downloaded  1133 Time(s) 

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Thu 02 Sep 2010, 10:10    Post_subject:  

Bonjour à tous,
Sorry for the late reply, I had difficulties to burn lupuq506.
I see no problem in displaying menus with accents using icewm.
It does not seem any necessary changes.
Cordialement Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Thu 02 Sep 2010, 10:21    Post_subject:  

Bonjour à tous,
And it seems it doesn't support the locale for the menu. Even if I launch the refreshment of the menu.
This is curious, because I translated all the branches of the menu and submenus are displayed in French.
Cordialement Wink
menu1.jpg
 Description   
 Filesize   50.13 KB
 Viewed   2226 Time(s)

menu1.jpg


_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Thu 02 Sep 2010, 19:17    Post_subject: Hungarian LupQ etc.  

Thanks esmourguit.

à propos, the Hungarian LupQ base on lupq-006, Lupq-006-hu-01.iso, is available. http://puppylinux.hu/
The Hungarian translates the IceWM, but cannnot switch by the other locale.

Give me a time on IceWM translation based on the new desktop translating system. The first issue is the IceWM is removed on LupQ-507 Cool

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Fri 03 Sep 2010, 04:21    Post_subject: Non-ASCII letters on urxvt
Sub_title: unicode locale on LupQ is not '.utf8' but '.UTF-8'
 

It is reported that the console can not display accented letters on Magyar Lucid Puppy 5.1, Lupq-006-hu-01.
It is because of the locale problem. Lupq-006-hu-01 uses its locale as 'hu_HU.utf8'.
Most of puppies and woof uses '.utf8' for the UTF-8 encoding locales.
But '.utf8' makes trouble with some X application like urxvt.
The recommended unicode locale on LupQ is not '.utf8' but '.UTF-8'.

If you are using Lupq-006-hu-01, edit /etc/profile and find 'LANG=hu_HU.utf8' and change it to
Code:
LANG=hu_HU.UTF-8

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Fri 03 Sep 2010, 05:04    Post_subject: Non-ASCII letters on console
Sub_title: Puppies cannot display them?
 

The matter of the console (without X).
I am not sure on the older version, but most of puppies cannot display non-ASCII letters on the console.
Recent puppies have the console fonts at /lib/consolefonts, lat1-12.psfu.gz for ISO-8859-1 and lat2-12.psfu.gz for ISO-8859-2.
But they seem not work.
Try:
Code:
# gzip -dcf /lib/consolefonts/lat1-12.psfu.gz | loadfont
loadfont: KDFONTOP: Invalid argument
# zcat /lib/consolefonts/lat1-12.psfu.gz | loadfont
loadfont: KDFONTOP: Invalid argument

We can find next line for example in /etc/rc.d/rc.country.
Code:
echo -n "$FONTMAP" > /etc/fontmap

This code is comment outed on LupQ because a half of the console dialog cannot be seen on some hardware, maybe nvidia graphics.
I do not know who reads this file /etc/fontmap and what do.
Anyway the console cannot display non-ASCII whether the /etc/fontmap is blank or filled.

I do not intend to follow this issue further.
Someone interested in?

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 04 Sep 2010, 02:21    Post_subject: the console dialog problem
Sub_title: the console dialog cannot fully be seen on some hardware
 

shinobar wrote:
Code:
echo -n "$FONTMAP" > /etc/fontmap

This code is comment outed on LupQ because a half of the console dialog cannot be seen on some hardware, maybe nvidia graphics.

You may be able to reproduce the problem if you have PC with some of the NVIDIA graphics.
Note that it does not occur on LupQ.
  • Boot up with ram mode(puppy pfix=ram) any pupies other than LupQ.
  • Select 'de (German)' keyboard.
  • After you reach to the desktop, Menu>Shutdown>Exit to the Command prompt
  • Type 'xorgwizard' on the console
  • You may be able to see only the top half of the dialog.

Note that 'de (German)' keyboard layout is 'QWERTZ'. You must type 'xorgwiyard' if your keyboard is 'us'.
It occurs maybe with NVIDIA graphics and the keyboard layout selected to one of them:
azerty, de, be*, br*, dk, es, fi, fr, it, no, se, sv, pt, cz, hu, pl, ro, sk*, croat, slovene.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 05 Sep 2010, 11:09    Post_subject: IceWM translation  

Attached /usr/local/bin/fix_menus_on_locale trial version.
Test it on the LupQ-507, with icewm-1.3.7pre2-lupq.pet available from here.

It converts the encoding when the locale is of ISO-8859-1/2. Do not convert in fixmenus.
fix_menus_on_locale-20100905.tar.gz
Description  Replace /usr/local/bin/fix_menus_on_locale on LupQ-507
gz

 Download 
Filename  fix_menus_on_locale-20100905.tar.gz 
Filesize  3.74 KB 
Downloaded  841 Time(s) 

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
L18L

Joined: 19 Jun 2010
Posts: 2579
Location: www.eussenheim.de/

PostPosted: Mon 06 Sep 2010, 10:32    Post_subject: PPM i18n
Sub_title: package descriptions of puppy packages
 

@all who like to use lokalized package descriptions

activate the hidden feature of PPM i18n
http://murga-linux.com/puppy/viewtopic.php?p=448544#448544

see attached screenshot

package descriptions
# from puppy-quirky-official
# puppy-woof-official
# puppy-5-official
# puppy-4-official
# t2-8.0rc-official
# sort --unique
# puppy-lucid-official (appended 2010-09-06)

can be translated and now used in lucid-official
(package_descr.pot for reference in attached package_descr_i18n.tar.gz)

Note 1: the original descriptions of Barry´s databases are not changed, the translation process is just an addition!

Note 2: It does not make very much sense to translate each and every description, you do not want to disappoint your "native language only" users too much. If the package cannot be used without understanding English, then I think it is better to NOT translate the package description.

Note 3: Have you yet noticed the "description: more info" button appearing with repo:ubuntu ?

feedback appreciated
have fun
szórakozás
avez du plaisir
楽しむ
package_descr_i18n.tar.gz
Description  /usr/share/doc/nls/dotpup/package_descr.pot
/usr/share/locale/de/LC_MESSAGES/package_descr.po
/usr/share/locale/de/LC_MESSAGES/package_descr.mo
gz

 Download 
Filename  package_descr_i18n.tar.gz 
Filesize  20.91 KB 
Downloaded  982 Time(s) 
snapshot_PPM_descriptions_localized.png
Description  see filename
png

 Download 
Filename  snapshot_PPM_descriptions_localized.png 
Filesize  49.84 KB 
Downloaded  992 Time(s) 
Back to top
View user's profile Send_private_message 
mama21mama

Joined: 03 Apr 2010
Posts: 526
Location: Lincoln, Buenos Aires, Argentina

PostPosted: Wed 08 Sep 2010, 14:58    Post_subject:  

Hola,

sinceramente tiene menos español que 4.3.1.

aunque este locales para 4.3.1 se puede utilizar en v5.

seguiré usando mi lengua materna, no me gusta otro lengua que no sea español.

por lo tanto seguiré en 4.3.1 en español + locales

gracias por intentarlo.
saludos
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Thu 09 Sep 2010, 06:31    Post_subject: Spanish translation  

mama21mama wrote:
sinceramente tiene menos español que 4.3.1.

Verdad. Sé que es espléndido.
Espero que tu o alguien que va a perfeccionar la traducción de la LupQ.

gracias

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 5 Posts_count   Goto page: 1, 2, 3, 4, 5 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0894s ][ Queries: 12 (0.0044s) ][ GZIP on ]