Terra I18n
The terra-i18n package provides on-demand internationalization of React components. Additionally, it provides an aggregate-translations
pre-build tool to aggregate translations and build dynamic intlLoader and translationLoader modules.
Getting Started
It is recommended to use the terra-base
component implementation; terra-base
will handle locale changes, manage the locale loading state and receive customized translation messages from an application and pass them into the I18nProvider
. See terra-base documentation
to get started.
However, terra-i18n can be installed with npmjs:
npm install terra-i18n
yarn add terra-i18n
Documentation
Documentation for this component is spilt into multiple files.
See the documentation.
LICENSE
Copyright 2017 Cerner Innovation, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.