From: charles on
I would like to make my application capable of
loading with Menus and content in different languages.

e.g. English for UK and US users, French
for French speakers etc.

What is the recommended method of doing this.

Should I just create a text file that loads at start-up
with all the strings in it ?
Can I use this to change the names of all my pull-down menus
such as "file", "open", close" etc....


Thanks


Charles W


From: Auric__ on
On Sat, 05 Jul 2008 23:38:43 GMT, charles(a)home.com wrote:

> I would like to make my application capable of
> loading with Menus and content in different languages.
>
> e.g. English for UK and US users, French
> for French speakers etc.
>
> What is the recommended method of doing this.
>
> Should I just create a text file that loads at start-up
> with all the strings in it ?
> Can I use this to change the names of all my pull-down menus
> such as "file", "open", close" etc....

I can think of a number of ways. I *think* the usual way is to do it
via resources. Loading from a text file at runtime should work fine.

--
If you knock on my door with the intention of selling me something or
talking about your version of God, I will kill you and hide the body.
From: secondar on
On Jul 5, 6:38 pm, "char...(a)home.com" <Char...(a)home.com> wrote:
> I would like to make my application capable of
> loading with Menus and content in different languages.
>
> e.g. English for UK and US users,  French
> for French speakers etc.
>
> What is the recommended method of doing this.
>
> Should I just create a text file that loads at start-up
> with all the strings in it ?
> Can I use this to change the names of all my pull-down menus
> such as "file", "open", close" etc....
>
> Thanks
>
> Charles W

At the risk of being the odd-man-out, it depends on the size of the
application.

If "reasonably sized" in regard to the GUI, you can embed it in the
application.

This avoids the possibility of the text file being corrupted or
accidentally deleted.
From: charles on
Because several languages might be involved and also the size of the
application,
I decided to extract all the strings into a text file that loads at launch.


Thanks for your suggestions.



CharlesW

<secondar(a)hotmail.com> wrote in message
news:a5646577-2233-49ea-8625-a2d565264e3c(a)c58g2000hsc.googlegroups.com...
On Jul 5, 6:38 pm, "char...(a)home.com" <Char...(a)home.com> wrote:
> I would like to make my application capable of
> loading with Menus and content in different languages.
>
> e.g. English for UK and US users, French
> for French speakers etc.
>
> What is the recommended method of doing this.
>
> Should I just create a text file that loads at start-up
> with all the strings in it ?
> Can I use this to change the names of all my pull-down menus
> such as "file", "open", close" etc....
>
> Thanks
>
> Charles W

At the risk of being the odd-man-out, it depends on the size of the
application.

If "reasonably sized" in regard to the GUI, you can embed it in the
application.

This avoids the possibility of the text file being corrupted or
accidentally deleted.