Welcome Guest ( Log In | Register )


Recommended Addon
sponsored link
Sponsored link

2 Pages V  < 1 2  
Reply to this topicStart new topic
> An automatic Localizer would be cool, A silly GoofyRequest to codehackers friends
dafi
post Jun 5 2006, 05:50
Post #21


WTS Developer
***

Group: WTS Developer
Posts: 498
Joined: 7-August 05
From: Palermo (Italy)
Member No.: 79


Extension Developer: Yes
Extensions: Some bonsai extensions
Translator for [No translator]



QUOTE(Goofy @ Jun 4 2006, 23:30) [snapback]15398[/snapback]

smile.gif After a certain number of tests, I can say it is more handy now !
- Stylesheet lines are preserved
- Doctype line filled with extension name and filename given by the user.
- Description tag recognized -->strings entitized.
- creation of new files throughout dialog working fine

Good news for me tongue.gif thanks for your support

QUOTE(Goofy @ Jun 4 2006, 23:30) [snapback]15398[/snapback]

I have a little request :
On line 260 of the .js file there is a control for string length
I think it should be set to 45 characters to avoid too long entity names ;-)

I want to change completely the way entity name is generated.
I want to make some parameter user defined (i.e. max length)
I want to remove substring shorter that 3 characters (or a value defined by user)
For example actually the string
Please specify a value
is localized with
label.please.specify.a.value
But the substring a is unuseful
I must test generation for special characters
BTW, I need to make some other improvements, stay tuned biggrin.gif

QUOTE(Goofy @ Jun 4 2006, 23:30) [snapback]15398[/snapback]

Ah, and I asked for our friend efdur to provide a little icon for the extension, here it is

Very cool, thanks


--------------------
Davide Ficano
Author of the ViewSourceWith extension
http://dafizilla.sourceforge.net/viewsourcewith
Go to the top of the page
 
+Quote Post
Goofy
post Jun 5 2006, 08:05
Post #22


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.352
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



biggrin.gif Grazie ancor'una volta !

A user-defined length for entity name will be a pretty good improvement.

I am not sure that removing less than 3 characters strings in the entity name would be a good idea :
1. Accesskeys are only 1 character long
2. There may be occurrences when two strings have only a very limited but significant difference that should be maintained

I still have a problem with digit chars being ignored (extractdialog.js lines 25à-254)

this kind of input from a real extension :
CODE
   <menupopup>
                        <menuitem value="2" label="2 seconds"/>
                        <menuitem value="4" label="4 seconds"/>
                        <menuitem value="8" label="8 seconds (default)"/>
                        <menuitem value="10" label="10 seconds"/>
                        <menuitem value="10" label="12 seconds"/>
                        <menuitem value="15" label="15 seconds"/>
                        <menuitem value="20" label="20 seconds"/>
                        <menuitem value="25" label="25 seconds (slower connection)"/>
                        <menuitem value="30" label="30 seconds"/>
                        <menuitem value="35" label="35 seconds"/>
                        <menuitem value="40" label="40 seconds"/>
                        <menuitem value="45" label="45 seconds (dial-up)"/>
                        <menuitem value="50" label="50 seconds"/>
                        <menuitem value="60" label="60 seconds"/>
                        <menuitem value="90" label="90 seconds"/>
                     </menupopup>


gives this output laugh.gif :

CODE
<menupopup>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.default.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.slower.connection.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.dial.up.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                        <menuitem value="&menuitem..;" label="&menuitem..seconds.;"/>
                     </menupopup>
laugh.gif laugh.gif

(well, to be honest, I do like it when everything becomes crazy)

When I localized this file, I snipped the relative lines of the extension and got a satisfying result. So in a distant future (when you have time to manage and only when you have time), it would be nice to have this choice added in the user's dialog :
"Ignore digit chars" with a radio button to be notched.
rolleyes.gif


--------------------
Think Global, Make Locales!



You like languages? You should contribute to Tatoeba project!

Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
dafi
post Jun 5 2006, 08:38
Post #23


WTS Developer
***

Group: WTS Developer
Posts: 498
Joined: 7-August 05
From: Palermo (Italy)
Member No.: 79


Extension Developer: Yes
Extensions: Some bonsai extensions
Translator for [No translator]



QUOTE(Goofy @ Jun 5 2006, 09:05) [snapback]15412[/snapback]

biggrin.gif Grazie ancor'una volta !

A user-defined length for entity name will be a pretty good improvement.

I am not sure that removing less than 3 characters strings in the entity name would be a good idea :
1. Accesskeys are only 1 character long
2. There may be occurrences when two strings have only a very limited but significant difference that should be maintained

Mumble mumble you are right

QUOTE(Goofy @ Jun 5 2006, 09:05) [snapback]15412[/snapback]

I still have a problem with digit chars being ignored (extractdialog.js lines 25à-254)

This problem will be fixed when I rewrite the routine creating entity name.

QUOTE(Goofy @ Jun 5 2006, 09:05) [snapback]15412[/snapback]

it would be nice to have this choice added in the user's dialog :
"Ignore digit chars" with a radio button to be notched.
rolleyes.gif

Maybe no need to add an option for digits, simply I must handle them correctly wink.gif


--------------------
Davide Ficano
Author of the ViewSourceWith extension
http://dafizilla.sourceforge.net/viewsourcewith
Go to the top of the page
 
+Quote Post
dafi
post Jun 5 2006, 19:19
Post #24


WTS Developer
***

Group: WTS Developer
Posts: 498
Joined: 7-August 05
From: Palermo (Italy)
Member No.: 79


Extension Developer: Yes
Extensions: Some bonsai extensions
Translator for [No translator]



QUOTE(Goofy @ Jun 5 2006, 09:05) [snapback]15412[/snapback]

I still have a problem with digit chars being ignored (extractdialog.js lines 25à-254)

Try this
(Old attachment has been removed)

This post has been edited by MatrixIsAllOver: Jun 24 2006, 11:12


--------------------
Davide Ficano
Author of the ViewSourceWith extension
http://dafizilla.sourceforge.net/viewsourcewith
Go to the top of the page
 
+Quote Post
Goofy
post Jun 5 2006, 22:02
Post #25


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.352
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



smile.gif Ottimo signor Davide

Vedi qua :

CODE
<menupopup>
                        <menuitem value="&menuitem.2;" label="&menuitem.2.seconds;" />
                        <menuitem value="&menuitem.4;" label="&menuitem.4.seconds;" />
                        <menuitem value="&menuitem.8;" label="&menuitem.8.seconds.default;" />
                        <menuitem value="&menuitem.10;" label="&menuitem.10.seconds;" />
                        <menuitem value="&menuitem.10;" label="&menuitem.12.seconds;" />
                        <menuitem value="&menuitem.15;" label="&menuitem.15.seconds;" />
                        <menuitem value="&menuitem.20;" label="&menuitem.20.seconds;" />


--------------------
Think Global, Make Locales!



You like languages? You should contribute to Tatoeba project!

Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
Goofy
post Jun 7 2006, 14:14
Post #26


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.352
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



smile.gif Though it is a minor improvement not adding to corecode, I am pleased to attach here a version with a toolbar menu button (displaying efdur's icon), thanks to the contribution of Ptit Lutin


[old attachment removed vy Goofy]


--------------------
Think Global, Make Locales!



You like languages? You should contribute to Tatoeba project!

Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
Goofy
post Jul 1 2006, 18:45
Post #27


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.352
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



smile.gif To who may give some help for debugging GoofyMistakes™...

I have up to now localized more than 20 extensions with Externalize and they work fine. But I probably added my personal mistakes in the following 3, instead of various attempts rolleyes.gif I cannot make them work.
I also attach here the original version.

[old attachments removed - Ptit Lutin has been kind enough to debug]


--------------------
Think Global, Make Locales!



You like languages? You should contribute to Tatoeba project!

Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
ZuGro
post Jul 14 2006, 10:04
Post #28


Advanced Member
***

Group: Members
Posts: 302
Joined: 27-April 06
From: Mexico
Member No.: 1.280


Extension Developer: No
Translator for Spanish (es-MX / Mexico)
Translation Credits to Juan Andrés L. Godínez [ZuGro]



Hi

Spanish locale (es-ES) released, available in WTS tongue.gif

Here:
h**p://rapidshare.de/files/25808204/externalize_0.0.21_Lutin.xpi.html

IPB Image

The tooltip text of toolbar button was forgotted to translation (in externalizeOverlay.xul file, at content folder):
IPB Image

I changed it:
IPB Image

externalize.dtd files modified, new entity added:
IPB Image
(all locales, en-US, es-ES and it-IT (translation required))

Tested and working fine for me:
IPB Image
(as you can see on this & the first images)

Best regards.

PS: excuse my very poor english ops.gif
Go to the top of the page
 
+Quote Post
Goofy
post Jul 16 2006, 21:51
Post #29


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.352
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



smile.gif Great, thanks for this improvement and for your work !
- Feel free to use it when some extension without localization appears on Moz update !


--------------------
Think Global, Make Locales!



You like languages? You should contribute to Tatoeba project!

Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
Pedro
post Sep 18 2006, 23:50
Post #30


eXtenZilla IT Member
***

Group: Members
Posts: 711
Joined: 30-July 05
From: Ferrara - Italia
Member No.: 11


Extension Developer: No
Translation Credits to Luca Pedrazzi - www.extenzilla.org



QUOTE(Goofy @ Sep 19 2006, 00:34) [snapback]19037[/snapback]

In case you are interested, here you have the last available version packed with three .txt files (unzip first)

Thanks JB.. and surely a great "thanks" to Davide... I will try this interesting tool biggrin.gif

Nothing for the .js files? tongue.gif


--------------------
Are you sure that I am a translator? Have you seen my english? IPB Image
IPB Image IPB Image IPB Image
Goofy's corrections © inside. The dog with the glasses has come back.
Go to the top of the page
 
+Quote Post
Goofy
post Sep 19 2006, 07:41
Post #31


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.352
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



Discussion about improvements on this exension and last available version hosted on dafzilla are now to be taken on this new dev topic smile.gif


--------------------
Think Global, Make Locales!



You like languages? You should contribute to Tatoeba project!

Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th May 2013 - 05:34
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft