Forum OpenACS Development: I18n of dynamic data

Collapse
Posted by Lee Denison on
Is there a way to dynamically add user entered data to the catalog file; ie a user might provide the name of a group.  The name entered is added to the catalog file, the key is used as the name of the group and then the internationalised name is looked up whenever the group name is displayed - assuming that a user has also provided translations.
Collapse
2: Re: I18n of dynamic data (response to 1)
Posted by Don Baccus on
We're not supporting this level of localization at the moment.  You'd need a message key for each row in the database that's localized.  The CR design is to tag each CR entry with a language - this dates back to the original aD design of the CR.  This makes sense for complex content, i.e. just provide multiple translations for each item as a separate object and tag by language.  Since the CR is often used to store word and pdf data and the like translations by message key doesn't really make much sense in this context, IMO.

Object pretty names can be internationalized and we do it for package names and the like, where we store something like "#forums.pretty_name#" as the package pretty_name then translate it before displaying it (on HEAD this is now done automatically).