Skip to content
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

ADD: Korean Language #741

Merged
merged 6 commits into from
Nov 27, 2022
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function App() {
| **emojiSize** | `24` | | The size of the emojis (inside the buttons) |
| **emojiVersion** | `14` | `1`, `2`, `3`, `4`, `5`, `11`, `12`, `12.1`, `13`, `13.1`, `14` | The version of the emoji data to use. Latest version supported in `@emoji-mart/data` is currently [14](https://emojipedia.org/emoji-14.0) |
| **icons** | `auto` | `auto`, `outline`, `solid` | The type of icons to use for the picker. `outline` with light theme and `solid` with dark theme. |
| **locale** | `en` | `en`, `ar`, `be`, `cs`, `de`, `es`, `fa`, `fi`, `fr`, `hi`, `it`, `ja`, `nl`, `pl`, `pt`, `ru`, `sa`, `tr`, `uk`, `vi`, `zh` | The locale to use for the picker |
| **locale** | `en` | `en`, `ar`, `be`, `cs`, `de`, `es`, `fa`, `fi`, `fr`, `hi`, `it`, `ja`, `kr`, `nl`, `pl`, `pt`, `ru`, `sa`, `tr`, `uk`, `vi`, `zh` | The locale to use for the picker |
| **maxFrequentRows** | `4` | | The maximum number of frequent rows to show. `0` will disable frequent category |
| **navPosition** | `top` | `top`, `bottom`, `none` | The position of the navigation bar |
| **noCountryFlags** | `false` | | Whether to show country flags or not. If not provided, tbhis is handled automatically (Windows doesn’t support country flags) |
Expand Down
29 changes: 29 additions & 0 deletions packages/emoji-mart-data/i18n/kr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"search": "검색",
"search_no_results_1": "어머나!",
"search_no_results_2": "결과를 찾을 수 없어요",
"pick": "이모지 선택하기",
"add_custom": "이모지 추가하기",
"categories": {
"activity": "활동",
"custom": "커스텀",
"flags": "깃발",
"foods": "음식 및 음료",
"frequent": "자주 사용하는 항목",
"nature": "동물 및 자연",
"objects": "사물",
"people": "스마일리 및 사람",
"places": "여행 및 장소",
"search": "검색 결과",
"symbols": "기호"
},
"skins": {
"choose": "기준 피부색 선택하기",
"1": "표준",
"2": "밝은 피부색",
"3": "약간 밝은 피부색",
"4": "중간 피부색",
"5": "약간 어두운 피부색",
"6": "어두운 피부색"
}
}
1 change: 1 addition & 0 deletions packages/emoji-mart-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<option value="hi">हिन्दी</option>
<option value="it">Italiano</option>
<option value="ja">日本語</option>
<option value="kr">한국어</option>
<option value="nl">Nederlands</option>
<option value="pl">Polski</option>
<option value="pt">Português</option>
Expand Down
1 change: 1 addition & 0 deletions packages/emoji-mart/src/components/Picker/PickerProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export default {
'hi',
'it',
'ja',
'kr',
'nl',
'pl',
'pt',
Expand Down