You are not logged in.
Pages: 1
Hi @ab, how i can use i18n on my mORMot application server generating only my resource strings ? and how I can invoke the translation from a line code ? for example:
(pseudocode)
...
if <condition> then
raise ESynException.CreateUTF8(sResStrMessage, [params]);
...
I have not forms.
Maybe is a stupid question but ...
Thanks in advance.
Esteban
Offline
The mORMoti18n.pas is indeed focused on VCL apps.
I may try to get rid of any dependency to VCL in the unit.
But on our side, we rather never translate the message, but let it on the presentation layer.
For errors, we use enumerates are error results, which are converted to plain translated easy-to-understand text, with a technical explanation in English, containing all details.
Online
Thanks, I will consider that.
Esteban
Offline
Pages: 1