This project is read-only.

Multitenant configuration ignores orchard.Theme.po file

Topics: Core, Customizing Orchard, Localization
Feb 27, 2013 at 10:35 AM
Edited Feb 27, 2013 at 10:36 AM

We've moved an standalone web page based on Orchard 1.6 to a mutitenant one.
Everything worked properly. Only one problem: The following file is ignored in the multitenant configuration: /Themes/MyTheme/App_Data/Localization/es-ES/orchard.Theme.po

So, it doesn't show translated texts as it happen for the standalone configuration.

Any clue of how to solve this issue?

Mar 3, 2013 at 12:57 AM
You mean the culture is es-ES but the texts from the theme don't appear in Spanish?
Mar 3, 2013 at 9:07 AM
Edited Mar 3, 2013 at 9:07 AM
Yes that's the point.
Here you can see a test site configured as multitenant.

As you can see if you change language (clicking on the flags) Menu language changes however contents based on po files as the form labes doesn't change. The same theme with the same database in a standalone Orchard configuration translates properly to spanish when es-ES culture is set.

Thank you
Mar 4, 2013 at 1:30 AM
Please file a bug then.
Mar 4, 2013 at 8:25 AM
Mar 8, 2013 at 9:55 PM
Finally it was my fault, it is not a bug.

The translation of the labels of a form was done in the original Orchard site using a template that override the default output for forms, performing translation of the labels related to each field of a form. Inexplicably this template was removed for the multitenant version, and we didn't remember that it was the "trick" we used to translate label from forms.