mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-21 14:01:34 +02:00
Merge pull request #140 from DaehunGwak/quiz-kr
Translating quiz-app into ko(Korean) (in progress)
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
<label for="locale">locale</label>
|
<label for="locale">locale</label>
|
||||||
<select v-model="locale">
|
<select v-model="locale">
|
||||||
<option>en</option>
|
<option>en</option>
|
||||||
|
<option>fr</option>
|
||||||
|
<option>ko</option>
|
||||||
<option>id</option>
|
<option>id</option>
|
||||||
</select>
|
</select>
|
||||||
</nav>
|
</nav>
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
// index.js
|
// index.js
|
||||||
import en from './en.json';
|
import en from './en.json';
|
||||||
import fr from './fr.json';
|
import fr from './fr.json';
|
||||||
|
import ko from './ko.json';
|
||||||
import id from './id.json';
|
import id from './id.json';
|
||||||
|
|
||||||
//export const defaultLocale = 'en';
|
//export const defaultLocale = 'en';
|
||||||
@@ -8,6 +9,7 @@ import id from './id.json';
|
|||||||
const messages = {
|
const messages = {
|
||||||
en: en[0],
|
en: en[0],
|
||||||
fr: fr[0],
|
fr: fr[0],
|
||||||
|
ko: ko[0],
|
||||||
id: id[0],
|
id: id[0],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
2509
quiz-app/src/assets/translations/ko.json
Normal file
2509
quiz-app/src/assets/translations/ko.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user