#1 2025-08-10 13:12:50

testgary
Member
Registered: 2025-02-06
Posts: 25

i18n

Are there any mature internationalization solutions available at present? Solutions for multiple languages

Offline

#2 2025-08-10 18:59:04

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,123
Website

Re: i18n

I just added the TLanguage enumerate, to handle... languages...

The MVC engine has its own translation feature available.

And the framework is UTF-8, so can handle multiple languages, even on Delphi 7.
We have also internal case-insensitive search with full Unicode-10 support, if needed.
But sometimes, it is best to rely on the OS itself to follow the actual end-user preferences.

We may finish porting the mormotii18n.pas unit from mORMot 1 in the next weeks.
Which exact feature do you need?

Offline

#3 Yesterday 05:34:36

testgary
Member
Registered: 2025-02-06
Posts: 25

Re: i18n

My current requirement is that the website needs to be accessible to users of multiple different languages. If the website is in a single language, it would be a bit troublesome.

Offline

#4 Yesterday 05:51:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,123
Website

Re: i18n

In the mustache template, any {{"English text}} tag will be passed as OnStringTranslate('English text') to the corresponding callback for rendering.

Would you like fully translated file resources, e.g. per-language HTML view files?

Offline

#5 Yesterday 08:36:05

testgary
Member
Registered: 2025-02-06
Posts: 25

Re: i18n

ab wrote:

In the mustache template, any {{"English text}} tag will be passed as OnStringTranslate('English text') to the corresponding callback for rendering.

Would you like fully translated file resources, e.g. per-language HTML view files?


I'm familiar with this method. However, I don't think it's a good solution. I believe the HTML view files classified by language would be better. But I have no experience in this area and can't offer you any constructive suggestions.

Offline

Board footer

Powered by FluxBB