Author Topic: Localization  (Read 805611 times)

Mauro

  • Guest
Localization
« on: April 01, 2007, 03:32:09 AM »
I would like to localize PasswordMaker to Brazilian Portuguese. However, PasswordMaker 1.6.1 doesn't support localization.

Is there a newer version which supports localization?

May I change version 1.6.1 to add support to localization?

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Localization
« Reply #1 on: April 06, 2007, 03:10:16 AM »
Sorry, there isn't a newer version. You are welcome to localize PasswordMaker 1.6.1 and we'll post it for download.

Mauro

  • Guest
Localization
« Reply #2 on: April 08, 2007, 09:23:14 PM »
Ok. I will work on localization of PasswordMaker 1.6.1. Thank you.

Mauro

  • Guest
Localization
« Reply #3 on: April 10, 2007, 04:44:42 PM »
The file "basic-options.xul" (located in chrome/passwdmaker.jar/content/passwdmaker) has the following lines of code:

Code: [Select]
    <label value="This password was generated using the default account"/>
    <hbox>
      <label value="settings. Use the"/>
      <label style="margin-left: -1px; margin-right: -1px; color: blue; cursor: pointer"
        value="Advanced Options" onclick="onOptionsDialogButton('advanced');"/>
      <label id="lastVisibleElement" value="to change them."/>
    </hbox>

That code results in the following message:



The line break and the word order is good for English but may cause trouble for other languages.

In order to make it easy to translate that message, I suggest we change that code like this:

Code: [Select]
    <vbox>
      <label id="warningLbl" value="This password was generated using the default account settings."/>
      <label id="lastVisibleElement" value="Use the Advanced Options to change them." style="color: blue; cursor: pointer" onclick="onOptionsDialogButton('advanced');"/>
    </vbox>

Those lines would result in the following message:



What do you think?

Offline Miquel 'Fire' Burns

  • Administrator
  • *****
  • Posts: 1143
  • Programmer
    • http://www.miquelfire.com/
Localization
« Reply #4 on: April 11, 2007, 02:41:31 PM »
I guess that would work.
"I'm not drunk, just sleep deprived."

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Localization
« Reply #5 on: April 20, 2007, 02:43:51 PM »
That's fine. Miquel, can you make the change in SourceForge?

Offline Miquel 'Fire' Burns

  • Administrator
  • *****
  • Posts: 1143
  • Programmer
    • http://www.miquelfire.com/
Localization
« Reply #6 on: April 20, 2007, 03:31:49 PM »
Done.
"I'm not drunk, just sleep deprived."

Mauro

  • Guest
Localization
« Reply #7 on: May 03, 2007, 11:23:28 PM »
I'm still working on the localization of PasswordMaker but I guess you'd like to see the changes I made so far.

How can I send you a partially localized version of PasswordMaker?

Offline Miquel 'Fire' Burns

  • Administrator
  • *****
  • Posts: 1143
  • Programmer
    • http://www.miquelfire.com/
Localization
« Reply #8 on: May 04, 2007, 01:44:22 AM »
Maybe create a diff off the current trunk or something?
"I'm not drunk, just sleep deprived."

Mauro

  • Guest
Localization
« Reply #9 on: May 04, 2007, 03:37:16 AM »
I prepared a new XPI file containing a partially localized version of PasswordMaker.

I tried to upload the XPI file but the following error ocurred:

"The requested file upload failed because suitable permissions have not been enabled on the 'uploads' directory. Please contact the board administrator and inform them of this error."

Offline Miquel 'Fire' Burns

  • Administrator
  • *****
  • Posts: 1143
  • Programmer
    • http://www.miquelfire.com/
Localization
« Reply #10 on: May 04, 2007, 04:12:21 AM »
Um, need to upload it someplace else. We disabled uploads here I believe, or if we are in fact allowing them again, we need to reconfigure some directories first.

Note, we will need the source anyway, so a diff would be nice.
"I'm not drunk, just sleep deprived."

Mauro

  • Guest
Localization
« Reply #11 on: May 04, 2007, 05:55:23 PM »
I have uploaded the partially localized version of PasswordMaker to RapidShare (http://rapidshare.com/files/29471581/passwordmaker-1.6.1-localization.xpi.html).

That partially localized version of PasswordMaker contains English and Brazilian Portuguese only.

You have to change the locale settings in Firefox so that you can see the messages in Brazilian Portuguese. You may use the Quick Locale Switcher extension (https://addons.mozilla.org/en-US/firefox/addon/1333) to change the locale.

Please, note that I'm still working on it. So, I think it's not a good idea to put that code on SourceForge.

In order to see the differences between the localized version and the official version, you may use WinMerge (http://sourceforge.net/projects/winmerge).

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Localization
« Reply #12 on: May 06, 2007, 10:21:24 PM »
Many thanks, Mauro! Post again when you have something we should start hosting on SourceForge for everyone to download.

m4j3s4

  • Guest
Re: Localization
« Reply #13 on: June 03, 2007, 04:11:13 PM »
Localization is finished.

I have uploaded the completely localized version of PasswordMaker to RapidShare (http://rapidshare.com/files/35017646/passwordmaker-1.6.2-localization.zip.html).

That localized version is based on version 1.6.2 as of 2007-jun-02 and it contains English and Brazilian Portuguese only.

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Re: Localization
« Reply #14 on: June 03, 2007, 05:07:24 PM »
Wow! That's really impressive. That's a huge amount of work! Thank you so much! I've gotten lots of requests to submit PasswordMaker to BabelZilla for translation to other languages, and now we can do it!

i kiss you!

Eric

edit: I will post again when this has been merged into the Subversion trunk and/or posted at BabelZilla
« Last Edit: June 03, 2007, 05:10:30 PM by Eric H. Jung »

PasswordMaker Forums

Re: Localization
« Reply #14 on: June 03, 2007, 05:07:24 PM »