Hello,
I have added a patch that implements the support for skin selectors
depending on the locale (https://issues.apache.org/jira/browse/TRINIDAD-1041).
This is done in the CSS using @locale rules. The syntax of the @locale rules
is similar to the syntax of the @agent and @platform rules:
@locale en-us, fr
{
/* skin selectors definitions go here */
}
The set of supported locales is afterwards stored in each StyleSheetNode. I
also implemented an example in the trinidad-demo. There is a skin
(localeDemo.css) which contains @locale rules. Afterwards, the
localeDemo.jspx page displays a textInput with a different color, depending
on the locale. In order to configure the proper skin, a "LocaleDemoBean" is
used, which is used for configuring the proper skin-family (localeDemo), in
the same way in which the accessibility profile is configured for
accessibilityProfileDemo.jspx.
Could you please have a look over the patch and see if this resolves the
issue.
Regards,
Marius