Hello Sieghart!

> A remark: the consts file for your ideU is still somwewhat preliminary,

Many thanks, I will take a look and adapt it for the last release of ideu form 
3 days agos.

Now ideU does not uses the mseconst_xx.pas anymore.

Imho, the mseconst_xx.pas has lot of limitations, you must recompile your 
program if there are modifications.
Also it is complicated to add new language, you must register it, change code, 
...

The only advantage is that all the constants of each language are inside the 
binary (but it bloats it also).

So now last release of ideU uses a array of strings that is filled when a 
language is selected.
For this it uses a 'po' file (from Gettext standard), fill the array and use it 
instead of the mesconsts_xx.pas.

The big advantage is that you may change the po file or add a new one without 
the need to recompile the app.

All the adaptations for msegui are here:
https://github.com/fredvs/msegui_dynpo

Maybe it could be merged for official mseide-msegui but for that, of course, 
all the advices and votes are needed.

I did test it for all my old applications, translating the all the 
mseconsts_xx.pas  into po files and all was working.
And for all the applications that do not use mseconst_xx.pas, no problems.

Or maybe give the choise: or use mseconst_xx.pas way or use po way.
( But this is more tricky )

In my opinion, the mseconst_xx.pas way is too limited and I would vote for the 
po way.

What do you think?

Fre;D

________________________________
De : Fred van Stappen <[email protected]>
Envoyé : lundi 24 janvier 2022 01:56
À : General list for MSEide+MSEgui <[email protected]>
Objet : Re: [MSEide-MSEgui-talk] Hello back!

Hello Sieghard!

Your update commited: https://github.com/mse-org/mseide-msegui/commit/9133e9000

Many thanks!

Fre;D


________________________________
De : Sieghard via mseide-msegui-talk <[email protected]>
Envoyé : dimanche 23 janvier 2022 18:45
À : [email protected] 
<[email protected]>
Cc : Sieghard <[email protected]>
Objet : Re: [MSEide-MSEgui-talk] Hello back!

Hallo Fred,

according to my announcement a few days ago, I put the file
    mseconsts_de.zip      german text constants adapted to my liking

into a dedicated directory on my web site for download by you or
perhaps other users of mseide-msegui.
The file can be accessed by the URL
<http://schs.de/download/mse/mseconsts_de.zip>

If this shows viable, I'm planning to also provide some more stuff that
way, specifically the modified dialogs I'm (still) working at, plus a
couple example programs.

A remark: the consts file for your ideU is still somwewhat preliminary,
as it containes a whole lot of entries requiring translations that
depend on their respective use. This means that a functioning ide is
required, which I could do only recently, so I didn't have time to
check all occurences for acceptable wording. (If I even can FIND them
all...)

I hope the files can be useful.

--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



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

Reply via email to