Re: I18N management tool?



unomystEz wrote:
Hi all,

I'm sure some of you that have worked on i18n have had the same
problem I'm having at one point at least. I've decided to enable
japanese and french in my swing application and have a few questions
regarding keeping it managable. My swing app is relatively large now
and includes a lot of text, not like some apps that just need to
externalize 100 or so strings, my current properties file has over 500
entries now.

1. Entries are updated

I thought of putting revisions at the end of each key. ie:

WelcomeScreen.title.24 = Welcome to the lemonade stand app

so that if it were changed, you would automatically know if the other
languages are not up to date.

Right now, we move the updated entries to the bottom and put a comment
in front of them telling the others to update it.

Use your version control system to monitor file changes. Add a check-in
trigger to identify changed values. Generate a todo-task in your
progress tracking tool, telling you which values in the other bundles
need updating.

If your system can't do it, update to a non-toy system. If you work
without any version control system, consider a career change.

2. Entries are deleted

Code is sometimes deleted that use entries in the properties files
and the keys are left in there... We haven't found any way to really
manage this except I was thinking of using unix tools like sed and awk
to compare the source against the properties files, I'm sure there is a
good tool out there to show missing entries and unused ones though.

Sound's like a plan. A check-in trigger might be impractical for
monitoring this kind of change.

3. Entries are added

When we add entries they usually only get added to the english file,
and the way we see if it's missing from the foreign language files is
to run the app in the other langs and see what keys it couldn't find
(our ResourceBundle will print a stack trace of unfound keys).

Use your version control system. Add a check-in trigger to check the
key names in the file against the key names in every other resource
bundle. If the keys are not identical, refuse the check-in or generate
a todo-task in your progress tracking software.

PofN

.



Relevant Pages

  • Re: I18N management tool?
    ... Entries are updated ... Use your version control system to monitor file changes. ... Code is sometimes deleted that use entries in the properties files ... and the keys are left in there... ...
    (comp.lang.java.programmer)
  • Re: Purpose of "UserAssist" registry keys?
    ... Deleting the entries should certainly be alright. ... As with all MRU keys they ... The entries in those two keys seem to be encrypted using ... cipher, also known as a Caesar shift cipher or shift cipher, is one of the ...
    (microsoft.public.windowsxp.general)
  • Re: UP -- patent restricted?
    ... some poor unsuspecting schmuck. ... Maybe there are capabilities in SQL that I'm totally ignorant of. ... After doing that I'd like to "ride the B-tree index" to visit and check all the entries for this client. ... When you need so many keys, i.e. you have so many functions, so much functionality, you don't have a lot of freedom to conform with what others have done. ...
    (comp.databases.pick)
  • Re: is it true that hash-tables increase their capacity to the next prime number?
    ... contain pointers to chains of entries. ... When two or more keys hash to the same table entry, ... further probing. ... that by searching around the table by any of these increments (modulo ...
    (comp.lang.lisp)
  • Re: Gathering Workstation IP Address
    ... I began to look at the entries you specify prior to generating my code. ... using these keys would have complicated the task for me. ... >> 'Launch IPCONFIG ...
    (microsoft.public.scripting.vbscript)