Skip to content

Locales: add Esperanto translation #16955

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/docs/en-US/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ Currently Element ships with the following languages:
<li>Kyrgyz (kg)</li>
<li>Armenian (hy)</li>
<li>Croatian (hr)</li>
<li>Esperanto (eo)</li>
</ul>

If your target language is not included, you are more than welcome to contribute: just add another language config [here](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) and create a pull request.
1 change: 1 addition & 0 deletions examples/docs/es/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ Actualmente Element está disponible en los siguientes idiomas:
<li>Kirguizstán (kg)</li>
<li>Armenio (hy)</li>
<li>Croatian (hr)</li>
<li>Esperanto (eo)</li>
</ul>

Si su idioma de destino no está incluido, puede contribuir: simplemente añada [aqui](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) otra configuración de idioma y cree un pull request.
1 change: 1 addition & 0 deletions examples/docs/fr-FR/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ Actuellement, Element supporte les langues suivantes:
<li>Kirghize (kg)</li>
<li>Croate (hr)</li>
<li>Arménien (hy)</li>
<li>Espéranto (eo)</li>
</ul>

Si votre langue n'apparaît pas dans la liste, n'hésitez pas a contribuer: ajoutez simplement un fichier de configuration [ici](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) et créez une pull request.
1 change: 1 addition & 0 deletions examples/docs/zh-CN/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
<li>吉尔吉斯语(kg)</li>
<li>亚美尼亚语 (hy)</li>
<li>克罗地亚 (hr)</li>
<li>世界语 (eo)</li>
</ul>

如果你需要使用其他的语言,欢迎贡献 PR:只需在 [这里](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) 添加一个语言配置文件即可。
116 changes: 116 additions & 0 deletions src/locale/lang/eo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
export default {
el: {
colorpicker: {
confirm: 'Bone',
clear: 'Malplenigi'
},
datepicker: {
now: 'Nun',
today: 'Hodiaŭ',
cancel: 'Nuligi',
clear: 'Malplenigi',
confirm: 'Bone',
selectDate: 'Elektu daton',
selectTime: 'Elektu horon',
startDate: 'Komenca Dato',
startTime: 'Komenca Horo',
endDate: 'Fina Dato',
endTime: 'Fina Horo',
prevYear: 'Antaŭa Jaro',
nextYear: 'Sekva Jaro',
prevMonth: 'Antaŭa Monato',
nextMonth: 'Sekva Monato',
year: 'Jaro',
month1: 'Januaro',
month2: 'Februaro',
month3: 'Marto',
month4: 'Aprilo',
month5: 'Majo',
month6: 'Junio',
month7: 'Julio',
month8: 'Aŭgusto',
month9: 'Septembro',
month10: 'Oktobro',
month11: 'Novembro',
month12: 'Decembro',
week: 'Semajno',
weeks: {
sun: 'Dim',
mon: 'Lun',
tue: 'Mar',
wed: 'Mer',
thu: 'Ĵaŭ',
fri: 'Ven',
sat: 'Sab'
},
months: {
jan: 'Jan',
feb: 'Feb',
mar: 'Mar',
apr: 'Apr',
may: 'Maj',
jun: 'Jun',
jul: 'Jul',
aug: 'Aŭg',
sep: 'Sep',
oct: 'Okt',
nov: 'Nov',
dec: 'Dec'
}
},
select: {
loading: 'Ŝarĝante',
noMatch: 'Neniuj kongruaj datumoj',
noData: 'Neniuj datumoj',
placeholder: 'Bonvolu elekti'
},
cascader: {
noMatch: 'Neniuj kongruaj datumoj',
loading: 'Ŝarĝante',
placeholder: 'Bonvolu elekti',
noData: 'Neniuj datumoj'
},
pagination: {
goto: 'Iru al',
pagesize: '/ paĝo',
total: 'Entute {total}',
pageClassifier: ''
},
messagebox: {
title: 'Mesaĝo',
confirm: 'Bone',
cancel: 'Nuligi',
error: 'Nevalida Enigo!'
},
upload: {
deleteTip: 'Premu "Delete" por forigi',
delete: 'Forigi',
preview: 'Antaŭrigardi',
continue: 'Daŭrigi'
},
table: {
emptyText: 'Neniuj datumoj',
confirmFilter: 'Konfirmi',
resetFilter: 'Restarigi',
clearFilter: 'Ĉiuj',
sumText: 'Sumo'
},
tree: {
emptyText: 'Neniuj datumoj'
},
transfer: {
noMatch: 'Neniuj kongruaj datumoj',
noData: 'Neniuj datumoj',
titles: ['Listo 1', 'Listo 2'],
filterPlaceholder: 'Enigu ŝlosilvorton',
noCheckedFormat: '{total} elementoj',
hasCheckedFormat: '{checked}/{total} elektitaj'
},
image: {
error: 'MALSUKCESIS'
},
pageHeader: {
title: 'Reen'
}
}
};