Guides

Internalization

It is possible the change the language of the importOK interface by setting the locale option. The default language is English, but other languages are also supported. Here is the full list:

Language Language code
English en
French fr
German de
Greek el
Italian it
Spanish es

Additional translations can be added by utilizing the translations property. Here is how you can combine the locale and translations to use your own translations for a new locale.

1{
2 "locale": "zz",
3 "translations": {
4 "zz": {
5 "%(howMany)s errors": "...",
6 "1 error": "...",
7 "A significant number of records couldn't be imported": "...",
8 "All columns": "...",
9 "All records": "...",
10 "All records imported successfully": "...",
11 "Back": "...",
12 "Click to upload or drag and drop": "...",
13 "Column %(header)s": "...",
14 "Continue →": "...",
15 "Data sheet for import": "...",
16 "Delete": "...",
17 "Download a sample file to get started.": "...",
18 "Download failed records": "...",
19 "Export": "...",
20 "Failed": "...",
21 "Find": "...",
22 "Find and replace": "...",
23 "First line includes field names": "...",
24 "Getting ready": "...",
25 "Importing...": "...",
26 "Invalid value.": "...",
27 "Match case": "...",
28 "Match entire cell contents": "...",
29 "Must be a boolean.": "...",
30 "Must be a number.": "...",
31 "Must be a valid date.": "...",
32 "Must be a valid email address.": "...",
33 "Must be an integer.": "...",
34 "Must be at least %(min)s.": "...",
35 "Must be at least %(minLength)s characters long.": "...",
36 "Must be no more than %(max)s.": "...",
37 "Must be no more than %(maxLength)s characters long.": "...",
38 "No": "...",
39 "Replace all": "...",
40 "Replace with": "...",
41 "Required.": "...",
42 "Search": "...",
43 "Search...": "...",
44 "Skip this cell": "...",
45 "Some records couldn't be imported due to errors": "...",
46 "Start over": "...",
47 "Successful": "...",
48 "Total": "...",
49 "Yes": "...",
50 "failed-records": "..."
51 }
52 }
53}