Hello Eric,

you have to translate the file messages.xml and rename it something like e.g. 
messages_lao.xml (there is an ISO Code to follow for this, IIRC ISO 638).

Translating the messages.xml is a medium size project which will last a week or 
two. It is 2000+ lines and you will not be able to guess for every text snippet 
where it will appear throughout DSpace.

You will have to place your completed file in a special place (search for 
DSpace overlay) like dspace/modules/xmlui/src/main/webapps/i18n/ and rebuild 
your app. You have to set your new locale in your config file.


For fixing errors you can change the file in your live installation, which 
speeds up correcting things, then replace the finalised version in your build 
directory afterwords to avoid overwriting your precious work when updating 
DSpace. 

You will likely get more help from Claudia Jürgen who helps translators since 
decades. You will likely do this works for years to come, but having done it 
for the first time it is only a little bit with every update of DSpace.

There are also more places where there are similar files, e.g. for text 
snippets specific to the Workflow module, but this is like optional fine-tuning 
after having done the big chunk of work with the main messages.xml file.

I guess you should switch to dspace-tech list for further questions regarding a 
new locale.

Bye, Christian


Am 23.08.2016 um 15:52 schrieb Eric Mousset <[email protected]>:

> Hello everyone, 
> 
> This is my first post to this G-group. 
> 
> I need to configure XMLUI to switch between English and Lao languages. 
> I'd be grateful for any advice on the following points: 
> 
> 1) What is the typical procedure for a new locale to be supported (i.e. Lao)? 
> 2) Is it possible to install a new language that is not officially supported 
> (i.e. Lao)? If so how? 
> 3) Is it possible to substitute a supported locale (i.e. "Latin") to another 
> one (i.e. "Lao")? 
> 
> I took a look at the code in "page-structure.xsl" in Mirage 2 and 
> "structural.xsl" in dri2xhtml theme, but could not figure it out. 
> 
> Many thanks in advance, 
> Eric
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-community.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to