喂,
I;m thinking about which way to best handle supporting native languages
in a business application written under Base?
Natural first thought is to create a languages table for all the strings
the application will display.
OK
For forms then it would be easy to:
Design the form in my NL.
Have a script sequence through all the controls on the form just after
load and replace any strings that each control displays with the
appropriate string from the languages table.
Well - OK - but...seems rather waste full of CPU cylces to me.
Really, do business level applications need to 'bounce' around from one
NL to another each time they are started up? I rather doubt it.
It makes more sense to me that this is a very infrequent request - to
change the UI language.
So my naive thought is:
Have a install script that:
Loads each form in design mode-
sequence through all the controls on the form just after load and
replace any strings that each control displays with the appropriate
string from the languages table-
Save the form.
Sounds simple enough, doesn't it. Anyone doing such a thing already?
What about helper scripts for building the language table - I believe
there are some of those in the Club Membership database at the
extensions site: http://extensions.services.openoffice.org/node/2033
One more question - Anyone think using language tables is not the right
way to go at all?
最良好的祝愿 (Best wishes)
Drew
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]