Hello Vasi.

Yes, of course, mseide him self does not need to be multi-languages.

But for other "all-round" programs for users not developers, language choice 
can be welcome.

And the goal of the "dynpo" way is to make easier for the developer to do it.

I my case, I prefer also English for all programation things.

Fre;D


________________________________
De : vasi vasi <[email protected]>
Envoyé : mercredi 26 janvier 2022 00:43
À : General list for MSEide+MSEgui <[email protected]>
Objet : Re: [MSEide-MSEgui-talk] About last mseide-msegui commit and languages.

Hi Fred,

Nice to have these options I understand that is good for people that don't know 
English but for me, I learned computers in English language, I use the apps and 
program in English. It seems awkward to try to use the computer in my language. 
 I also prefer to address the mouse peripheral as "mouse" in English rather 
than say that I use a mouse in my language to operate my computer. The mouse is 
a pest, and it carries diseases, let it be of English origin only 😁 .

But yes, thank you for the options!

On Wed, Jan 26, 2022 at 12:07 AM Fred van Stappen 
<[email protected]<mailto:[email protected]>> wrote:
Hello everybody.

In last commit of mseide-msegui was added a new define: "mse_dynpo".
When this define is enabled ( -dmse_dynpo as fpc parameter ) you will be able 
to use the "po" way instead of "mseconst_xy.pas" way used till now.

The "mseconst_xy.pas" way uses a pascal file for each language and must be 
compiled to use it.
It has the advantage that all your languages are included into the binary but 
it blows it and no change nor adding a new language is allowed after 
compilation.

The "po" way has only one default mseconst_dynpo.pas with all the words (usualy 
in English) compiled into the binary.
When charging a language, a array of strings will be filled and used for the 
new captions after check with the compiled consts.
You may add how many po files or change it without the need to recompile the 
application.

By default it is the "mseconst_xy.pas" way that will be used.

There is a demo with some po tools in /mseide-msegui/tools/potools/
You may also compile mseide himself with the -dmse_dynpo parameter (but 
translation is only for caption of widgets, like dialogs, mseide forms are not 
translated (yet?).

Comments are very welcome.

Fre;D
_______________________________________________
mseide-msegui-talk mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to