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 Thu 21 Aug 2014, 18:19
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Localizing scripts
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 9 [132 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
esmourguit


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

PostPosted: Thu 19 Mar 2009, 03:41    Post subject:  

Bonjour,
About the menu files in /usr/share/applications.
I thought that my explanations were not clear.
Here one example for /usr/share/applications/Alsamixer-sound-sound.desktop :

[Desktop Entry]
Encoding=UTF-8
Name=AlsaMixer audio mixer
Name[fr]=Mixeur audio AlsaMixer
Icon=mini-sound.xpm
Comment=AlsaMixer sound mixer
Exec=xterm -e alsamixer
Terminal=true
Type=Application
Categories=AudioVideo
GenericName=AlsaMixer

Create a new line for spanish (here in red) and save.

[Desktop Entry]
Encoding=UTF-8
Name=AlsaMixer audio mixer
Name[fr]=Mixeur audio AlsaMixer
Name[es]=Name_of_mixer_in_spanish
Icon=mini-sound.xpm
Comment=AlsaMixer sound mixer
Exec=xterm -e alsamixer
Terminal=true
Type=Application
Categories=AudioVideo
GenericName=AlsaMixer

Cordialement Wink

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

Joined: 08 Jul 2007
Posts: 731

PostPosted: Thu 19 Mar 2009, 06:18    Post subject: Russian translations for menu
Subject description: i've done for russian
 

So here i am!
i 've added russian lines for applications and packed it back
Exclamation Question
note : there are 3 .bak files for
e3 mp and top
i translated them also but i do not know if they will be in Puppy 4.2
also there's a pet.specs file wich can be removed Question

as an example i put a pack from /usr/share/desktop-directories wich i did for puppy 4.1.2
i've translated only entries for JWM menu
it's all the same things: just added some lines

For Icewm it needs to have a localized template in /etc/xdg/...
desktop-dirs.tar.gz
Description  example for JWM menu entries
gz

 Download 
Filename  desktop-dirs.tar.gz 
Filesize  2.26 KB 
Downloaded  644 Time(s) 
Rep-Applications-Loc.tar.gz
Description  added russian translations
gz

 Download 
Filename  Rep-Applications-Loc.tar.gz 
Filesize  24.46 KB 
Downloaded  650 Time(s) 

_________________
skype: desafimager
Back to top
View user's profile Send private message 
droope


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

PostPosted: Thu 19 Mar 2009, 10:10    Post subject:  

The whole menus have been translated, so i figure there must be a way to make a program that extracts it from the original and pastes it here, i'll try.

It gets hard, programming Razz

I won't do it manually, that is certain, waaay to many desktop files!! Sad
Back to top
View user's profile Send private message 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Thu 19 Mar 2009, 11:43    Post subject:  

i did it once in summer for puppy 4
so just copy/paste was not difficult
i'd also will add some scripts translations ...

_________________
skype: desafimager
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 19 Mar 2009, 13:09    Post subject:  

Bonjour,
Here is the desktop-dirs.tar.gz.
French added.
Cordialement Wink
desktop-dirs.tar.gz
Description 
gz

 Download 
Filename  desktop-dirs.tar.gz 
Filesize  2.7 KB 
Downloaded  604 Time(s) 

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


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

PostPosted: Thu 19 Mar 2009, 14:33    Post subject:  

esmourguit wrote:
Bonjour,
Here a fixed /usr/sbin/petget localized.
Tested in RC3 instead of original. Can you test yourself?
What conclusion about the corrections made on the localized files ? Should we change and what version to use?
I have great difficulties with the forum. It takes considerable time to load a page when it wants to load.
Cordialement Wink


I'd say marks right. I'll just patch them for spanish, since it isn't working for me. It works for french, right?

This should be the list then.

Connect wizard (last esmorguit link).
Xwin
XorgWizard (Updated to Mu's corrected version)
Remasterpup2
Chooselocale
Bootmanager
Cups Shell
Petget. (fixed).
Applications directory localized


Updated 19/03/09.

Aitch wrote:
Quote:
I would like to know if anyone knows of a program that'd let me to know the exact diferences between a file and another. It would save a lot of work for me.


I know it was awhile ago, Droope, but I just spotted this, and thought it might be useful to you

http://murga-linux.com/puppy/viewtopic.php?t=39497&sid=5528868e24039b386be03f6714f82a57

Good effort, guys!

Aitch Smile


Sorry aitch for ignoring you, and thanks!!!!! for the initial support for this and also for the link. Smile

I think it's of no use to me tho Sad

But thanks Smile

Cheers

EDIT:

Here is a screenie as proof of a non working connectwizard
foto.png
Description 
png

 Download 
Filename  foto.png 
Filesize  209.42 KB 
Downloaded  602 Time(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: Fri 20 Mar 2009, 04:08    Post subject:  

Bonjour,
Hey Droope, please check that no missing quote in the spanish.mo file.
This is often where I had errors.
Cordialement Wink

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


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

PostPosted: Fri 20 Mar 2009, 10:35    Post subject:  

Will do. Maybe that's it.

Cheers,
Droope
Back to top
View user's profile Send private message 
esmourguit


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

PostPosted: Sat 21 Mar 2009, 06:47    Post subject:  

Bonjour,
@ Aitch,
You can use xfdiff in Utility menu.
Or this command in console :
diff file_a file_b.
Or to get the difference in a text file, that command :
diff file_a file_b. > name_of_file_you_want.txt
Cordialement Wink

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


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sat 21 Mar 2009, 07:02    Post subject:  

Just in case you folks haven't noticed, the latest version of the network wizard requires an update to translations.
_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
esmourguit


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

PostPosted: Sun 22 Mar 2009, 05:18    Post subject:  

Bonjour,
Thank you Dougal, this was not noted.
Now update will be done.
Cordialement Wink

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


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sun 22 Mar 2009, 14:53    Post subject:  

Hey guys

I'm at it again....

droope, you may have seen this, I'm not sure, but with support from the likes of caneri, ttuuxxx & pizzasgood, as well as yourselves, of course, it looks like Internationalization is being taken seriously, at last

Other devs, please note!

Perhaps this link will become more useful in the longer run....
to stop everyone treading on each others toes, so to speak....

http://murga-linux.com/puppy/viewtopic.php?t=40152

Don't understand GIT, or it's implementation....?, speak to Pizzasgood

My feeling is that with the bling team & you, and the other devs sorting out the 'niggles', Puppy is on a one way journey to trouncing many bigger distros

Thanks again, guys

PS: reminder, Internationalized Dillo, here

http://www.freshports.org/www/dillo-i18n/

I note on the distrowatch Puppy page there is a section for Puppy's versions which has feature checkboxes;'Multilingual' & 'Asian Language Support'

After all the work done on the substantial '41 language thread',

http://www.murga-linux.com/puppy/viewtopic.php?t=27967

I hope this is recognised in future versions.....

[tell me to shut up, if you like Wink Laughing ]

Aitch Smile
Back to top
View user's profile Send private message 
esmourguit


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

PostPosted: Wed 25 Mar 2009, 04:32    Post subject:  

Bonjour,
A small change in /usr/share/petget (line 803) resulted in the addition of the last line in the file petget.mo.
So here is the new localized petget.
Some change also in the directory /usr/share/applications.
I will upload soon.
Cordialement Wink
petget_loc-09-03-25.tar.gz
Description 
gz

 Download 
Filename  petget_loc-09-03-25.tar.gz 
Filesize  25.21 KB 
Downloaded  585 Time(s) 

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

Joined: 15 Jan 2007
Posts: 56

PostPosted: Sat 28 Mar 2009, 21:32    Post subject:  

Hello!

I do not speak English well. Web translator to translate.

Send you the files alsaconf and ayttmshell located, along with its archives of messages in English and Spanish.

Pay attention to small differences in the initial routine file search. "Mo."

The following script will do that is / usr / sbin / BootManager

Greetings.
ayttmshell.tar.gz
Description 
gz

 Download 
Filename  ayttmshell.tar.gz 
Filesize  2.75 KB 
Downloaded  527 Time(s) 
alsaconf.tar.gz
Description 
gz

 Download 
Filename  alsaconf.tar.gz 
Filesize  12.91 KB 
Downloaded  527 Time(s) 
Back to top
View user's profile Send private message 
droope


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

PostPosted: Sat 28 Mar 2009, 21:46    Post subject:  

I have forgotten to let whodo know!!! sorry. Sad
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 9 [132 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
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.0881s ][ Queries: 13 (0.0099s) ][ GZIP on ]