Forum OpenACS Development: missings i18n in context bar: package/instance names not i18n

The context bar uses the instance name for the package index part of the context bar, example:
OpenACS Home : Forums : OpenACS Development
In this case, "Forums" is the instance name.

The name at the instantiation is taken from the .info <package-name>, which is in english.
So, some possible solutions:
1. Put the message key in the <package-name>.info
2. Do an special validation in site_node::instantiate_and_mount and instead of using by default the &lt;package-name&gt; as instance name, adopt a new a convention like: <span>#</span>package-key.package-key#, although not all the packages will have this message key.

Probably option 1 is the best, and will be easy to include in the next release of oacs/.lrn.
Opinions?
Galileo can contribute with a patch and upgrade script.

Option #1, with a new xml tag for the default name to use, is probably best.

if it doesn't exist in a package, just fall back to the current behavior.

ok, but a new xml tag needs to be reflected in:
apm_package_version_info
have sql upgrade files, modify the /apm forms, and modify the apm xml parser (all that has not been done lately).

Or just have the xml tag (avoid to reflect in the DB), and just parse it and probably maintain in memory for instantion purpouses.

Comments?

Ok, Cesar has done this. We already have it in production.
Basically a new attribute in the .info: <package-instance-name>\#msg-key\#</package-instance-name>.

Also, modified the instantiation process to check for this, and fall back to current behavior if the attribute is empty.

Also, we'll provide an upgrade script to rename current instances, and msg-keys for most of the applications. Will post a TIP.