Multilingual framework

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Multilingual framework

Smalltalkiano-4
Hi all,

    I wanted to know if someone has made some multilingual framework for
it's developments.

    What have one to consider to make a development had the feature that
could easily be in other languages?

    Usually a development has one main language, but what to do when you
want to make that application to be available in 2 or 3 languages. I don't
include here eastern languages, not yet :) for example you want this
application to be available in spanish, english and portuguese.

    What do you recomend to do with menu items, and all the
language-dependant stuff?

    thanks

Seb


Reply | Threaded
Open this post in threaded view
|

Re: Multilingual framework

L. M. Rappaport
On Sun, 23 Feb 2003 12:14:25 -0300, "Smalltalkiano"
<[hidden email]> wrote (with possible editing):

>Hi all,
>
>    I wanted to know if someone has made some multilingual framework for
>it's developments.
>
>    What have one to consider to make a development had the feature that
>could easily be in other languages?
>
>    Usually a development has one main language, but what to do when you
>want to make that application to be available in 2 or 3 languages. I don't
>include here eastern languages, not yet :) for example you want this
>application to be available in spanish, english and portuguese.
>
>    What do you recomend to do with menu items, and all the
>language-dependant stuff?
>
>    thanks
>
>Seb

One way would be to use libraries.  We use symbols written in English
then refer to the appropriate dictionary, using the symbol itself as a
fallback in case the dictionary either isn't loaded or doesn't have
the definition.

--
Larry
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Multilingual framework

Smalltalkiano-4
"L. M. Rappaport" <[hidden email]> escribió en el mensaje
news:[hidden email]...

> On Sun, 23 Feb 2003 12:14:25 -0300, "Smalltalkiano"
> <[hidden email]> wrote (with possible editing):
>
> >Hi all,
> >
> >    I wanted to know if someone has made some multilingual framework for
> >it's developments.
> >
> >    What have one to consider to make a development had the feature that
> >could easily be in other languages?
> >
> >    Usually a development has one main language, but what to do when you
> >want to make that application to be available in 2 or 3 languages. I
don't

> >include here eastern languages, not yet :) for example you want this
> >application to be available in spanish, english and portuguese.
> >
> >    What do you recomend to do with menu items, and all the
> >language-dependant stuff?
> >
> >    thanks
> >
> >Seb
>
> One way would be to use libraries.  We use symbols written in English
> then refer to the appropriate dictionary, using the symbol itself as a
> fallback in case the dictionary either isn't loaded or doesn't have
> the definition.

    And how do you dinamically build the menu messages and commands?


    regards,

Seb

>
> --
> Larry
> [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Multilingual framework

Ian Bartholomew-18
Seb,

>     And how do you dinamically build the menu messages and commands?

Have a look at the various #onAboutToDisplayMenu: methods in the image.
They can be used to dynamically build a menu so you can change the menu text
language as required.

Two things to watch out for....

You need to give the Menu a "Symbolic name".  This should be entered as a
string and not a symbol (i.e. don't enter an initial #).
You also need to enable the menu using a standard #queryCommand: method
entry (using the aforementioned "Symbolic name" as the command - this time
as a Symbol) or else #onAboutToDisplayMenu: will not be called.

--
Ian


Reply | Threaded
Open this post in threaded view
|

Re: Multilingual framework

Smalltalkiano-4
Ian,

    that sound accurate enough, I'll get on it.

    thanks,

Seb


"Ian Bartholomew" <[hidden email]> escribió en el mensaje
news:tfH6a.6142$Vx2.545424@wards...
> Seb,
>
> >     And how do you dinamically build the menu messages and commands?
>
> Have a look at the various #onAboutToDisplayMenu: methods in the image.
> They can be used to dynamically build a menu so you can change the menu
text

> language as required.
>
> Two things to watch out for....
>
> You need to give the Menu a "Symbolic name".  This should be entered as a
> string and not a symbol (i.e. don't enter an initial #).
> You also need to enable the menu using a standard #queryCommand: method
> entry (using the aforementioned "Symbolic name" as the command - this time
> as a Symbol) or else #onAboutToDisplayMenu: will not be called.
>
> --
> Ian
>
>
>
>