Some developers ask me how they can develop a multilingual forms and reports using XsltDb. I have just finished a Localization API that allows to setup all strings on every language and switch them when user changes current language of site.
You just write a macro like
# localized-strings / label.user-name #
and XsltDb replaces it with real text based on current language.
This is done inside configuration so you don’t need to setup any additional settings and code is kept compact. However, if you use some string widely across tha site you can create a separate configuration on any page and reference it with
<xsl:inpurt href="mdo:import(alias)" />