Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
.babelrc
CHANGELOG.md
LICENSE
README.md
index.js
package.json

README.md

@webiny/app-i18n

code style: prettier PRs Welcome

An app for creating forms that can be embedded into pages created with Webiny Page Builder.

Use together with @webiny/api-i18n package.

Install

npm install --save @webiny/app-i18n

Or if you prefer yarn:

yarn add @webiny/app-i18n

Setup

To setup, you must register a set of plugins. For more information on plugins, please visit Webiny documentation.

Admin

import { registerPlugins } from "@webiny/plugins";
import i18nPlugins from "@webiny/app-i18n/admin/plugins";

registerPlugins(i18nPlugins);

Note: the i18nCmsPlugins contains plugins for the Page Builder, which will enable you to embed i18n in your pages.

Site

import { registerPlugins } from "@webiny/plugins";
import i18nPlugins from "@webiny/app-i18n/site/plugins";

registerPlugins(i18nPlugins);
You can’t perform that action at this time.