The pt_BR I18N didn't die :D

2 views
Skip to first unread message

Habutre

unread,
Feb 26, 2009, 7:22:46 PM2/26/09
to Architect Developers
Hello All, specially Jef, that is help me with the translation effort.
In the key "HelpAction.couldNotLoadHelpFile" from the "architect/src/
ca/sqlpower/architect/swingui/action/messages_pt.properties" has a
word "IDE", this entry figure like a eclipse or netbeans
applicantions?
I would like prevent any kind of confusing for the users

-Habutre

Rogério

unread,
Feb 26, 2009, 9:59:57 PM2/26/09
to Architect Developers
Hi again!
Following with the I18N work, I found any important considerations to
do.

In first the artifacts listed below have some messages/labels that
should be in the message.properties file translation entries, for
example:

1) The method
ca.sqlpower.architect.swingui.CompareDMPanel.getStartabilityStatus()
2)ca.sqlpower.architect.SQLDatabase.getName()
3) ca.sqlpower.architect.swingui.ArchitectFrame.buildOLAPEditMenu()
4)
ca.sqlpower.architect.swingui.RelationshipEditPanel.RelationshipEditPanel
(ArchitectSwingSession)

After, the swing standard components have yours messages/labels in
enliglish for latin-1 jvm, or default instalation, thus, will be
necessary translate these components too. A idea that like to do this,
I found in http://beradrian.wordpress.com/tag/i18n/, where it's
possible make it.

Now the question is: Probably the effort to I18N the Power*Architect
to be greater than I imagine in the begin. Do we go ahead? Can this
decision delay the Power*Architect development plans?

My regards

-Habutre

Jeffrey Mo

unread,
Mar 7, 2009, 11:39:12 AM3/7/09
to Architect Developers
Hello Habutre,

Sorry for the late response.

That particular message is regarding using Help while running
Architect from the Eclipse IDE. The Help functionality if built using
JavaHelp in our build script when we make the distributables (See the
Ant build script 'build.xml', and look for the 'help' target). This
would not be available when running in Eclipse, so we have that error
message to notify the user that the Help functionality is not
available when running Architect from Eclipse.

Generally we don't expect the typical end user to see this error
message, but it's not impossible (if the JAR file that JavaHelp builds
is missing, then it would also show that message), so I'm not sure
what the best way to translate that message is.

-Jeff

Jeffrey Mo

unread,
Mar 7, 2009, 11:42:10 AM3/7/09
to Architect Developers
Hi again Habtre,

I would say go ahead with the translation efforts, as much of the
Power*Architect development has stalled for now, mainly because the
core development team is pre-occupied with other projects right now. I
would probably wait for a more official response from Jonathan, as he
is in charge of the project, but I don't see us doing much focused
development on the Power*Architect for the next couple of months.

-Jeff

On Feb 26, 9:59 pm, Rogério <habu...@gmail.com> wrote:
> Hi again!
> Following with the I18N work, I found any important considerations to
> do.
>
> In first the artifacts listed below have some messages/labels that
> should be in the message.properties file translation entries, for
> example:
>
> 1) The method
> ca.sqlpower.architect.swingui.CompareDMPanel.getStartabilityStatus()
> 2)ca.sqlpower.architect.SQLDatabase.getName()
> 3) ca.sqlpower.architect.swingui.ArchitectFrame.buildOLAPEditMenu()
> 4)
> ca.sqlpower.architect.swingui.RelationshipEditPanel.RelationshipEditPanel
> (ArchitectSwingSession)
>
> After, the swing standard components have yours messages/labels in
> enliglish for latin-1 jvm, or default instalation, thus, will be
> necessary translate these components too. A idea that like to do this,
> I found inhttp://beradrian.wordpress.com/tag/i18n/, where it's

Jonathan Fuerth

unread,
Mar 7, 2009, 4:53:53 PM3/7/09
to architect-...@googlegroups.com
Hi Habutre,

>> In first the artifacts listed below have some messages/labels that
>> should be in the message.properties file translation entries, for
>> example:
>>
>> 1) The method
>> ca.sqlpower.architect.swingui.CompareDMPanel.getStartabilityStatus()

Fixed! I put in keys for the words "older" and "newer" and then made
two messages that use them in a {0} substution.

>> 2)ca.sqlpower.architect.SQLDatabase.getName()

I've externalized all the messages in SQLDatabase that are likely to
become user-visible. However, SQLDatabase has moved to the
sqlpower-library project (also on Google Code Hosting). When we moved
it to the sqlpower-library, we also changed its package name to
ca.sqlpower.sqlobject.

The new version of SQLDatabase with externalized strings is in
sqlpower-library r837.

>> 3) ca.sqlpower.architect.swingui.ArchitectFrame.buildOLAPEditMenu()

Done!

>> 4)
>> ca.sqlpower.architect.swingui.RelationshipEditPanel.RelationshipEditPanel
>> (ArchitectSwingSession)

Done!

Fixes for items 1, 3, and 4 are in power-architect r2957.

>> After, the swing standard components have yours messages/labels in
>> enliglish for latin-1 jvm, or default instalation, thus, will be
>> necessary translate these components too. A idea that like to do this,

>> I found in http://beradrian.wordpress.com/tag/i18n/, where it's
>> possible make it.

Great pointer! I have not done this yet, but it's something we should
do. I've bookmarked the page.

>> Now the  question is: Probably the effort to I18N the Power*Architect
>> to be greater than I imagine in the begin. Do we go ahead? Can this
>> decision delay the Power*Architect development plans?

Hopefully not... I've already fixed most of what you pointed out. With
your itemized list of problems, it was easy to fix.

Thanks for all your help.

-Jonathan

Rogério

unread,
Mar 31, 2009, 4:20:13 PM3/31/09
to Architect Developers
Well, thanks for the anwsers. I've already most part of this work
translate OK. But for these days I'm too many busy, send you this work
could help for now, or would be better to make the whole work and
delivery all in a once?
> >> I found inhttp://beradrian.wordpress.com/tag/i18n/, where it's

Jonathan Fuerth

unread,
Mar 31, 2009, 5:06:20 PM3/31/09
to architect-...@googlegroups.com
Please do send us what you have so far. There will be a new release of
Power*Architect soon (within the next several weeks). It would be nice
to include whatever extra translations you've been working on.

Thanks again for your work!

-Jonathan

Rogério

unread,
Mar 31, 2009, 5:19:29 PM3/31/09
to Architect Developers
Wow! In this case I can work hard for try finish the job. I'll send
you the work made until now, and after I will plan the necessary
effort to finish and delivery a new and more complete version!

-Habutre

On Mar 31, 6:06 pm, Jonathan Fuerth <fue...@sqlpower.ca> wrote:
> Please do send us what you have so far. There will be a new release of
> Power*Architect soon (within the next several weeks). It would be nice
> to include whatever extra translations you've been working on.
>
> Thanks again for your work!
>
> -Jonathan
>
Reply all
Reply to author
Forward
0 new messages