Trinidad nativelly supports pt_BR, but you need to configure JSF to use
it, put this in your faces-config.xml:
<locale-config>
<default-locale>pt_BR</default-locale>
<supported-locale>pt_BR</supported-locale>
</locale-config>
Se você for brasileiro entra no grupo JavaSF[1], é o grupo oficial do
Brasil sobre JSF.
[1] http://groups.google.com/group/javasf/
Glauco P. Gomes
Silva, Luiz escreveu:
Hello all.
I'm trying to change the translations used by Trinidad components
(like table "Next", "Previous" messages, the WARNING and ERROR header
messages, etc.)
I tried the steps here:
_http://marc.info/?l=myfaces-user&m=119375075319737&w=2_
<http://marc.info/?l=myfaces-user&m=119375075319737&w=2>
but it didn't work.
We are currently using the default (English) and we need to change it
to Portuguese (pt_BR)
My configuration files are bellow.
trinidad-config.xml
<trinidad-config
xmlns="http://myfaces.apache.org/trinidad/config">
<client-validation>DISABLED</client-validation>
<acessibility-mode>inaccessible</accessibility-mode>
<skin-family>skin-eds-default</skin-family>
</trinidad-config>
trinidad-skins.xml
<skin>
<id>skin-eds-default.desktop</id>
<family>skin-eds-default</family>
<render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
<style-sheet-name>resources/skins/eds-default/skin-eds-default.css</style-sheet-name>
<bundle-name>org.apache.myfaces.trinidad.resource.MessageBundle_pt_BR</bundle-name>
</skin>
Is this the correct class? MessageBundle_pt_BR -- or should I create a
new one?
Trinidad jars trinidad-api-1.0.10.jar and trinidad-impl-1.0.10.jar are
present in web-inf/lib folder
Any help will be very appreciated.
Thanks!
Luiz