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 Sat 19 Aug 2017, 01:48
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
New files 'gettextized' for everyone 2015
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 15 Oct 2015, 04:34    Post subject:  

Very Happy works fine.

Code:
LANG=$LANG_USER


is better than

Code:
export TEXTDOMAIN=petget___installpkg.sh


PS: I noticed that all buttons (yes,no,cancel,etc) are untranslatable Rolling Eyes

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 2868

PostPosted: Thu 15 Oct 2015, 04:45    Post subject:  

xanad wrote:

PS: I noticed that all buttons (yes,no,cancel,etc) are untranslatable Rolling Eyes
Where? Which script?
_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 15 Oct 2015, 11:38    Post subject:  

mavrothal wrote:
xanad wrote:

PS: I noticed that all buttons (yes,no,cancel,etc) are untranslatable Rolling Eyes
Where? Which script?


gtkdialog
ex:



Code:
<button>
      '"`/usr/lib/gtkdialog/xml_button-icon yes`"'
      <label>" '$(gettext 'Yes')' "</label>
      <action>EXIT:yes</action>
    </button>

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 2868

PostPosted: Thu 15 Oct 2015, 12:16    Post subject:  

xanad wrote:

Code:
<button>
      '"`/usr/lib/gtkdialog/xml_button-icon yes`"'
      <label>" '$(gettext 'Yes')' "</label>
      <action>EXIT:yes</action>
    </button>


These are coming from /usr/lib/gtkdialog/box_yesno. Right?
So you have the "yes" string translation in libstardust.mo and still fails? Confused

BTW the latest momanager picks up /usr/lib/gtkdialog/ fine. No need for links to bin.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 15 Oct 2015, 15:33    Post subject:  

Quote:
These are coming from /usr/lib/gtkdialog/box_yesno. Right?
So you have the "yes" string translation in libstardust.mo and still fails?

yes

Quote:
BTW the latest momanager picks up /usr/lib/gtkdialog/ fine. No need for links to bin.

ok, well

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 2868

PostPosted: Fri 16 Oct 2015, 02:32    Post subject:  

xanad wrote:

Quote:
BTW the latest momanager picks up /usr/lib/gtkdialog/ fine. No need for links to bin.

ok, well

Translating libsturdust with the new momanager does the trick Very Happy
New_Momanager.png
 Description   
 Filesize   18.94 KB
 Viewed   363 Time(s)

New_Momanager.png


_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Sun 18 Oct 2015, 08:38    Post subject:  

Hi mavrothal

Very Happy Now it all seems ok, over time if there are other discrepancies we will see them do.
Thanks for your time and I'm very puzzled to have been the first to translate ppm v2 and find the impossibility of translation in some parts. it is clear that it has never been translated by those who drafted some scripts. Using gettext is valid if it is translated as a test. If it is not translated (at least in their own language) you can not understand the problems. Now ppm is very complete and very useful, thanks again. Wink

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Sun 18 Oct 2015, 08:56    Post subject:  

xanad wrote:
Hi mavrothal

Very Happy Now it all seems ok, over time if there are other discrepancies we will see them do.
Thanks for your time and I'm very puzzled to have been the first to translate ppm v2 and find the impossibility of translation in some parts. it is clear that it has never been translated by those who drafted some scripts. Using gettext is valid if it is translated as a test. If it is not translated (at least in their own language) you can not understand the problems. Now ppm is very complete and very useful, thanks again. Wink

Thank you for this new version.
I must soon test this development !

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Thu 22 Oct 2015, 16:00    Post subject:  

xdialog 2.3.1 gettexted
32 and 64 bit versions

http://murga-linux.com/puppy/viewtopic.php?p=868958#868958

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8192
Location: Perth, Western Australia

PostPosted: Sat 14 Nov 2015, 20:27    Post subject:  

xanad,
Hi, I was wondering, have you looked at pcdripper?

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

I had a very quick look at 3.9.4, the method of translation is very unusual, I don't understand it.

Maybe we should "normalise" it?

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Sun 15 Nov 2015, 05:31    Post subject:  

BarryK wrote:
xanad,
Hi, I was wondering, have you looked at pcdripper?

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

I had a very quick look at 3.9.4, the method of translation is very unusual, I don't understand it.

Maybe we should "normalise" it?


ok, I just downloaded the file, now I look at it ...

_________________
www.xanad.tk Html5 Parallax

Last edited by xanad on Sun 15 Nov 2015, 08:24; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 8656
Location: qld

PostPosted: Sun 15 Nov 2015, 06:21    Post subject:  

I think we should be using james' Xdialog updates. It includes all of amigo's patches and some new ones. Even I fixed the long standing bug of not being able to use a mono font in a textbox in GTK2. (IIRC).

https://chiselapp.com/user/jamesbond/repository/xdialog/index

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

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Sun 15 Nov 2015, 08:25    Post subject:  

xanad wrote:
BarryK wrote:
xanad,
Hi, I was wondering, have you looked at pcdripper?

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

I had a very quick look at 3.9.4, the method of translation is very unusual, I don't understand it.

Maybe we should "normalise" it?


ok, I just downloaded the file, now I look at it ...


I found the way, but is a long text replacement... after gettext ... and after the test ... after translation...
When I finished I send it.
PS: all translations previously created will be useless.
----
EDIT:
First part of the job.
Pcdripper attached version 'normalized'. I hope it's all right.
Soon I start with gettext.[list=][/list]
pcd_mod.tar.gz
Description 
gz

 Download 
Filename  pcd_mod.tar.gz 
Filesize  14.71 KB 
Downloaded  100 Time(s) 

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Sun 15 Nov 2015, 11:24    Post subject:  

Hi Barry.,
I have to solve others problems with gettext.
For now I solved almost everything.

textdomain problems:
from line 1109 to 1137
from line 1264 to 1296
from line 1315 to 1383
from line 1445 to 1513
- same problem

and
from line 2417 to 2435

I try again
pcd-mods.tar.gz
Description 
gz

 Download 
Filename  pcd-mods.tar.gz 
Filesize  14.74 KB 
Downloaded  114 Time(s) 

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Sun 15 Nov 2015, 15:31    Post subject:  

previous post modified
_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 6 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 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.1036s ][ Queries: 14 (0.0105s) ][ GZIP on ]