Browse Source

feat(i18n): add Japanese (ja) translations

pull/7132/head
greymoth-jp 3 weeks ago
committed by Thomas Kaul
parent
commit
ffb7d27a6c
  1. 4
      apps/client/project.json
  2. 1
      apps/client/src/app/components/user-account-settings/user-account-settings.component.ts
  3. 8781
      apps/client/src/locales/messages.ja.xlf
  4. 1
      libs/common/src/lib/config.ts
  5. 3
      libs/common/src/lib/helper.ts

4
apps/client/project.json

@ -26,6 +26,10 @@
"baseHref": "/it/", "baseHref": "/it/",
"translation": "apps/client/src/locales/messages.it.xlf" "translation": "apps/client/src/locales/messages.it.xlf"
}, },
"ja": {
"baseHref": "/ja/",
"translation": "apps/client/src/locales/messages.ja.xlf"
},
"ko": { "ko": {
"baseHref": "/ko/", "baseHref": "/ko/",
"translation": "apps/client/src/locales/messages.ko.xlf" "translation": "apps/client/src/locales/messages.ko.xlf"

1
apps/client/src/app/components/user-account-settings/user-account-settings.component.ts

@ -91,6 +91,7 @@ export class GfUserAccountSettingsComponent implements OnInit {
'es', 'es',
'fr', 'fr',
'it', 'it',
'ja',
'ko', 'ko',
'nl', 'nl',
'pl', 'pl',

8781
apps/client/src/locales/messages.ja.xlf

File diff suppressed because it is too large

1
libs/common/src/lib/config.ts

@ -314,6 +314,7 @@ export const SUPPORTED_LANGUAGE_CODES = [
'es', 'es',
'fr', 'fr',
'it', 'it',
'ja',
'ko', 'ko',
'nl', 'nl',
'pl', 'pl',

3
libs/common/src/lib/helper.ts

@ -23,6 +23,7 @@ import {
es, es,
fr, fr,
it, it,
ja,
ko, ko,
nl, nl,
pl, pl,
@ -262,6 +263,8 @@ export function getDateFnsLocale(aLanguageCode?: string) {
return fr; return fr;
} else if (aLanguageCode === 'it') { } else if (aLanguageCode === 'it') {
return it; return it;
} else if (aLanguageCode === 'ja') {
return ja;
} else if (aLanguageCode === 'ko') { } else if (aLanguageCode === 'ko') {
return ko; return ko;
} else if (aLanguageCode === 'nl') { } else if (aLanguageCode === 'nl') {

Loading…
Cancel
Save