Hi Natalia,
On 07/11/15 02:34, Natalia Queiroz wrote:
Hello Andrea, thanks again for your help :)
I need that the Portuguese language show up on the field Language, how
is that possible?
<input-type value-pairs-name="common_iso_languages">dropdown</input-type>
You'll need to find the section common_iso_languages towards the bottom
of the input-forms.xml file. It starts like this:
<value-pairs value-pairs-name="common_iso_languages"
dc-term="language_iso">
Add a line for Portuguese -- at the same time, you can (but you don't
have to) remove any languages listed there that aren't used in your
repository. The order of languages in the file is the same order that
will be used for the selection list on the submission screen.
For each language in the list, there is an entry like so:
<pair>
<displayed-value>English (United States)</displayed-value>
<stored-value>en_US</stored-value>
</pair>
So just add eg:
<pair>
<displayed-value>Português brasileiro</displayed-value>
<stored-value>pt_BR</stored-value>
</pair>
and/or without the country variant:
<pair>
<displayed-value>Português</displayed-value>
<stored-value>pt</stored-value>
</pair>
(Apologies if I got the Portuguese language names wrong, I'm sure you
get the picture)
cheers,
Andrae
--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120
--
You received this message because you are subscribed to the Google Groups "DSpace
Technical Support" 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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.