Skip to content

aws-amplify-jp/vocabulary-ja

Repository files navigation

@aws-amplify-jp/vocabulary-ja

Vocabulary dictionary for AWS Amplify's translations

Screenshot

Getting started

Install the package via npm registry:

$ npm install @aws-amplify-jp/vocabulary-ja

Import and put into I18n class of aws-amplify:

import { I18n } from "aws-amplify";
import { Translations } from "@aws-amplify/ui-components";
import ja from "@aws-amplify-jp/vocabulary-ja";

I18n.putVocabulariesForLanguage("ja-JP", ja(Translations));