Talk:I18N

From AlfrescoWiki

Jump to: navigation, search

Is there a way to internationalise spaces names ? The need is to share spaces amongst users of different languages. So, I would like to use a bundle reference as a name, say "myBundle.DRAFTS_SPACE" that would translate according to definitions in the bundles.

I answer my own question : It may be possible after a code modification of the actionLink tag sot that it interprets the content of value

<a:actionLink value="#{r.name}" actionListener="#{BrowseBean.clickSpace}"> <f:param name="id" value="#{r.id}" /> </a:actionLink>

would become

<a:actionLink value="#{r.name}" interpret="yes" actionListener="#{BrowseBean.clickSpace}"> <f:param name="id" value="#{r.id}" /> </a:actionLink>

It may be necessary to give the name of the bundle too. (Shame on me, I never developped my own tags).