Localization problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2013 04:51 AM
Hi, everybody!
I'm trying to add a new translation to the UI of Alfresco Share (Version 4.2.d).
The localization code is: ca_ES (I want to have te 'catalan' language avaiable in Alfresco Share).
My problem is that once I've created all the files 'xxxxx_ca_ES.properties' and placed in te correct path, the system don't show the translated UI to catalan (it shows the Spanish version).
When I took a look to the log files I found that warning:
It seems that I have to configure the new locale-variable 'ca_ES' in the faces-config.xml… but I have no idea about how to do it! (and where is the 'faces-config.xml' file…).
I tried with other languages not supported initially like portuguese (pt), and brazilian portuguese (pt_BR) and It worked fine!
I will appreciate any comments!
I'm trying to add a new translation to the UI of Alfresco Share (Version 4.2.d).
The localization code is: ca_ES (I want to have te 'catalan' language avaiable in Alfresco Share).
My problem is that once I've created all the files 'xxxxx_ca_ES.properties' and placed in te correct path, the system don't show the translated UI to catalan (it shows the Spanish version).
When I took a look to the log files I found that warning:
09:21:19,466 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : es_ES
It seems that I have to configure the new locale-variable 'ca_ES' in the faces-config.xml… but I have no idea about how to do it! (and where is the 'faces-config.xml' file…).
I tried with other languages not supported initially like portuguese (pt), and brazilian portuguese (pt_BR) and It worked fine!
I will appreciate any comments!
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2013 05:59 AM
I have solved that problem!
The solution is to change the filenames from 'xxxxxx_ca_ES.properties' by 'xxxxxx_ca.properties'.
(nothing to do with the warning in the log).
I hope it will help to the people who want to translate alfresco to catalan language.
The solution is to change the filenames from 'xxxxxx_ca_ES.properties' by 'xxxxxx_ca.properties'.
(nothing to do with the warning in the log).
I hope it will help to the people who want to translate alfresco to catalan language.
