Forum OpenACS Development: default i18n messages

Collapse
Posted by Iuri Sampaio on
How and Where in the source code can i write i18n and make them to come as default messages when i install a package.
Collapse
2: Re: default i18n messages (response to 1)
Posted by Dave Bauer on
Try the package developers documentation for internationalization/localization https://openacs.org/doc/i18n.html
Collapse
3: Re: default i18n messages (response to 2)
Posted by Iuri Sampaio on
Thanks dave,

nice read. I am aware how and when to use them

i am just curious why i havent found any file that loads all default messages up in the system. Like an SQL big file that inserts texts in the content repository

Collapse
4: Re: default i18n messages (response to 1)
Posted by Dave Bauer on
They are stored in XML files for each locale under /catalog in each package directory.

If you look under /acs-lang/admin you can find code that can automatically take litereal strings in Tcl and ADP files and turn them into message keys.