Pcd language support
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.
Download
username: puppy
password: linux
pcd_NLS.pet
Pcd mainpage
Sigmund Berglund
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.
Download
username: puppy
password: linux
pcd_NLS.pet
Pcd mainpage
Sigmund Berglund
Last edited by zigbert on Sun 18 Mar 2012, 13:20, edited 6 times in total.
- esmourguit
- Posts: 1410
- Joined: Fri 17 Nov 2006, 14:45
- Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
Hello zigbert,
Here is the french file for pCD 1.0
Cordialement
Here is the french file for pCD 1.0
Cordialement
- Attachments
-
- pcd-1.0-french.zip
- (486 Bytes) Downloaded 1349 times
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]
Here the Spanish file to:
pCD 1.x
Nice program Zigbert
pCD 1.x
Nice program Zigbert
- Attachments
-
- spanish.gz
- (378 Bytes) Downloaded 1439 times
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'.
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: Select all
#-- 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
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'.
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: Select all
#-- 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
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
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
The Finnish translation for Pcd 1.x
- Attachments
-
- pcd-finnish.tar.gz
- Pcd 1.x Finnish translation
- (460 Bytes) Downloaded 825 times
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
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
Let's hope that I wasn't doing completely useless work...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.
Portuguese
Code: Select all
#!/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="