Re: I18N management tool?
- From: "PofN" <7abc@xxxxxxxxxxxxx>
- Date: 2 Sep 2006 09:14:04 -0700
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
.
- Follow-Ups:
- Re: I18N management tool?
- From: unomystEz
- Re: I18N management tool?
- References:
- I18N management tool?
- From: unomystEz
- I18N management tool?
- Prev by Date: Design Question
- Next by Date: SOLVED
- Previous by thread: I18N management tool?
- Next by thread: Re: I18N management tool?
- Index(es):
Relevant Pages
|