Hi Khoan,

On Mon, Aug 27, 2012 at 4:51 AM, Khoan Cat Be Tong <[email protected]> wrote:
> I am running a Dspace 1.8.2 in LAN. Everything seems to OK. I want to use
> Vietnamese language. So, I learn
> https://wiki.duraspace.org/display/DSDOC18/XMLUI+Configuration+and+Customization#XMLUIConfigurationandCustomization-MultilingualSupport
>
> and To set a language other than English as the default language for the
> repository's interface, you can simply rename the translation catalogue for
> the new default language to "messages.xml" as guide above.

that is actually not advisable. I'll remove it from documentation.

The correct course of action (for XMLUI) is to leave messages.xml in
English, put Vietnamese into messages_vi.xml and configure
xmlui.supported.locales = en, vi
After changing the messages files or dspace.cfg, you need to restart Tomcat.

The result of this will be that language preferences set in user's
browser will be taken into account and those who prefer Vietnamese
will have all pages displayed in Vietnamese (including the login page)
and everyone else will get the interface in English (including the
login page).

> Vietnamese language is show at home page http://mydspace/xmlui and some
> pages like http://mydspace/xmlui/community-list ;
> http://mydspace/xmlui/browse?type=type=author (and type=title, type=subject
> ...). But http://mydspace/xmlui/password-login is English, I don't know why.
> I checked messages.xml and make sure that English translated into
> Vietnamese.

This is either a caching issue or you didn't restart Tomcat. See
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon%28XMLUI%29cache
If you don't make the changes I suggested, after you clear your cache,
you will have your interface completely in Vietnamese without the
option of English for those who don't prefer Viernamese.

Regards,
~~helix84

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to