IQSS/dataverse — pull request #783 by Jian881219 (2014-07-30 12:05:12+00:00)
Title: Internationalization

Characters from *.xhtml

step 1: put

on *.xhtml
step 2: config

face-config.xml

step 3: write key-value on *.properties file

Characters from *.java

setp 1: import ResouceBundle.jar and MessageFormat.jar
step 2: ResourceBundle rBundle=ResouceBundle.getBundle("xxx");
step 3: rBundle.getString("xxxxx");
step 4: write key-value on xxx.properties files

Characters from bean

write key-value on ValidationMessages.properties , the name of ValidationMessages can't be changed

Charactes on advanced.xhtml

on advanced.xhtml, the characters are from table metadataBlock and datasetfiletype in dvndb.
I don't know how to make internationalization about it ,at last i thought of a way to solve it.
I write key-value on Test.properties,and change getDisplayName() on DatasetFieldType.java.
Besides, how to make internationalization for itemLabel as following

![1](https://cloud.githubusercontent.com/assets/8034298/3748736/be2cae50-17e1-11e4-8fc0-b5efafd98f57.jpg)

Others that i changed

In Chinese , we can't access the web of dropbox, google,facebook,etc. so i change the code on dataset.xhtml line 22, and put

dropbox.js

on /resource/js/ .Is there copyright problem about it?