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 Fri 18 Apr 2014, 09:01
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Pcd language support
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: Mon 03 Aug 2009, 04:20    Post subject:  Pcd language support  

_______Pcd language support__________________________________

Finnish - JSonic
French - Jean-Jacques Moulinier (esmourguit)
German - ?
Polish - (robwoj44) (1.5)
Portoguese - (vicmz ) (1.5)
Spanish - (Proudog)



For translators:
The file to translate:
- /usr/local/pcd/locals/en_US:english
This file are in the main Pcd package. It is important that you install the latest version to see how it all works.

Write your translation with charset UTF-8. If you doesn't understand this, it's convertable. Smile

Download
username: puppy
password: linux

pcd_NLS.pet

Pcd mainpage

Sigmund Berglund

_________________
Stardust resources

Last edited by zigbert on Sun 18 Mar 2012, 09:20; edited 6 times in total
Back to top
View user's profile Send private message Visit poster's website 
esmourguit


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

PostPosted: Mon 03 Aug 2009, 13:13    Post subject:  

Hello zigbert,
Here is the french file for pCD 1.0
Cordialement Wink
pcd-1.0-french.zip
Description 
zip

 Download 
Filename  pcd-1.0-french.zip 
Filesize  486 Bytes 
Downloaded  892 Time(s) 

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send private message 
Proudog

Joined: 27 Feb 2009
Posts: 158

PostPosted: Tue 04 Aug 2009, 00:10    Post subject:  

Here the Spanish file to:

pCD 1.x

Nice program Zigbert
spanish.gz
Description 
gz

 Download 
Filename  spanish.gz 
Filesize  378 Bytes 
Downloaded  930 Time(s) 
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Tue 04 Aug 2009, 04:10    Post subject: locale filename  

hi, zigbert, great job.

i wonder why you convert the filename from LANG.
it must be more simple to use the LANG code itself, i mean the locale filename, say for english, to be 'en'.
next is a code to search locale files. the locale filename can be en, en_US, en_UK, en_AU, etc.
for example, where 'en' defines a word 'subway', 'en_UK' can override the same word as 'tube'.

Code:
#-- simple localization for scripts by Shinobar based on MU.
# modified to search in $APPDIR/locals. APPDIR must be defined before
# set locale
for lng in C $(echo $LANGUAGE|cut -d':' -f1) $LC_ALL $LANG;do :;done   # ex.    ja_JP.UTF-8
# search locale file
lng1=$(echo $lng|cut -d'.' -f1)      # ex.   ja_JP
lng2=$(echo $lng|cut -d'_' -f1)   # ex.   ja
for L in C en $lng2 $lng1 $lng
do
   F="$APPDIR/locale/$L"
   [ -f "$F" ] && . "$F"
done
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Tue 04 Aug 2009, 04:23    Post subject: locale filename  

hi, zigbert, great job.

i wonder why you convert the filename from LANG.
it must be more simple to use the LANG code itself, i mean the locale filename, say for english, to be 'en'.
next is a code to search locale files. the locale filename can be en, en_US, en_UK, en_AU, etc.
for example, where the file 'en' defines a word 'subway', another file 'en_UK' can override the same word as 'tube'.

Code:
#-- simple localization for scripts by Shinobar based on MU.
# modified to search in $APPDIR/locals. APPDIR must be defined before
# set locale
for lng in C $(echo $LANGUAGE|cut -d':' -f1) $LC_ALL $LANG;do :;done   # ex.    ja_JP.UTF-8
# search locale file
lng1=$(echo $lng|cut -d'.' -f1)      # ex.   ja_JP
lng2=$(echo $lng|cut -d'_' -f1)   # ex.   ja
for L in C en $lng2 $lng1 $lng
do
   F="$APPDIR/locale/$L"
   [ -f "$F" ] && . "$F"
done
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: Wed 05 Aug 2009, 02:42    Post subject:  

shinobar
Great solution!!!
I'll consider it. The reason why I made my own way, is because in Pburn, Pbackup.... you can choose language from menu/preferences. I wanted the name of the language to show up, - not the cryptic codes. But Pcd doesn't have such a choice, and could be made your much easier way.

Thanks
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: Wed 16 Dec 2009, 05:51    Post subject:  

Because of upgrading language handling for pCD version 1.1, the naming of local files are no changed from 'spanish' to 'es_ES:spanish'. Package in main post includes new naming.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: Sat 19 Feb 2011, 14:23    Post subject:  

Polish added
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
JSonic


Joined: 21 Aug 2011
Posts: 37
Location: Finland

PostPosted: Wed 07 Sep 2011, 01:17    Post subject:  

The Finnish translation for Pcd 1.x
pcd-finnish.tar.gz
Description  Pcd 1.x Finnish translation
gz

 Download 
Filename  pcd-finnish.tar.gz 
Filesize  460 Bytes 
Downloaded  372 Time(s) 
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: Wed 07 Sep 2011, 02:18    Post subject:  

JSonic
Thank you for the translation.
Be aware that Pmusic now has better CD-audio performance than pCD.
- album artwork
- Lyrics and artist/album info
- slider to navigate in track
- Built in ripper
- ...

For that reason pCD is not a part of the upcoming official Puppy.

More info about Pmusic here. For translation, look here


Finnish is included in the NLS-package and main post is updated
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
JSonic


Joined: 21 Aug 2011
Posts: 37
Location: Finland

PostPosted: Wed 07 Sep 2011, 07:39    Post subject:  

zigbert wrote:
JSonic
Thank you for the translation.
Be aware that Pmusic now has better CD-audio performance than pCD.
- album artwork
- Lyrics and artist/album info
- slider to navigate in track
- Built in ripper
- ...

For that reason pCD is not a part of the upcoming official Puppy.

Let's hope that I wasn't doing completely useless work... Smile
Back to top
View user's profile Send private message 
Meraviglioso

Joined: 19 Sep 2011
Posts: 3

PostPosted: Tue 20 Sep 2011, 06:41    Post subject:  

any Russian translation?
Last edited by Meraviglioso on Wed 28 Sep 2011, 13:43; edited 1 time in total
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: Wed 21 Sep 2011, 03:53    Post subject:  

Meraviglioso wrote:
any Russian translation?
No that I am aware of, but Pmusic (which now is the preferred CD-audio player) has an up-to-date russian translation.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
vicmz

Joined: 15 Jan 2012
Posts: 1010

PostPosted: Sat 17 Mar 2012, 14:19    Post subject:  

Portuguese
Code:

#!/bin/bash
#Pcd
#version=1.x
#language=portuguese
#translator:Native

set -a

#Gui
LOC200="Reprodutor de CD de áudio"
LOC201="Copiar CD"
LOC202="Extrair CD"
LOC203="Ler CD"
LOC204="Expulsar"
LOC205="Artista"
LOC206="Álbum"
LOC207="Nr"
LOC208="Canção"
LOC209="Duração"
LOC210="Sair"
LOC206="Álbum"

#Probe
LOC300="Lendo disco"
LOC301="Desconhecido"

#Errors
LOC400="Nenhum CD de áudio válido inserido"
LOC401="Nenhum disco inserido"

#Tooltips
LOC800="reproduzir canção anterior"
LOC801="parar"
LOC802="reproduzir canção selecionada"
LOC803="reproduzir canção seguinte"


I'm also making a specific Pmusic 2.5 locale file for Spanish, although it'll take some time.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: Sun 18 Mar 2012, 09:20    Post subject:  

portuguese added
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0694s ][ Queries: 13 (0.0051s) ][ GZIP on ]