1.12.6 • Published 3 months ago

@dragonaxe/i18n v1.12.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Summary

A set of services to get static content(unilangual or multilangual(i18n)) or content from a CDN such as Prismic.

Usage

See the exports in package entry point. Construct your own content data access.

Access the resources using keys.

For static resources, your must provide your map as a record. If the static resources are multilangual, you must divide each resource with a locale of your choice such as "en" or "fr".

If you only intend to access resources in one language, use the "unilangual" versions of the services.

Tests

Set these environment variables in .env.tests:

TEST_PRISMIC_REPO_NAME=
TEST_PRISMIC_REPO_TOKEN=
1.12.6

3 months ago

1.12.5

3 months ago

1.12.3

3 months ago

1.12.2

3 months ago

1.12.4

3 months ago

1.12.1

3 months ago

1.11.2

3 months ago

1.12.0

3 months ago

1.11.1

3 months ago

1.11.0

5 months ago

1.10.0

11 months ago

1.9.0

11 months ago

1.8.0

11 months ago

1.7.0

11 months ago

1.6.0

11 months ago

1.5.0

11 months ago

1.4.0

11 months ago

1.3.0

11 months ago

1.2.3

11 months ago

1.2.2

11 months ago

1.2.1

11 months ago

1.2.0

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

0.0.1

11 months ago