aws-amplify / aws-amplify/docs

[Feedback] Is there a way to automatically extract the default locale dictionary from code files?

Open
#4,324 0 comments 0 reactions 1 assignee Claimed by @nadetastic View on GitHub
amplify/js
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Page**: [`/lib/utilities/i18n/q/platform/[platform]`](https://docs.amplify.aws/lib/utilities/i18n/q/platform/js)

**Feedback**:
Hi there, thanks for the great work and documentation!

Wasn't able to quickly find an answer, so I thought it might be useful to mention in this documentation page whether AWS Amplify suggest an approach allowing to extract a locale dictionary for the default language from the code?

Something similar to what [extract-intl](https://github.com/react-boilerplate/react-boilerplate/blob/master/internals/scripts/extract-intl.js) script from react-boilerplate does for react-intl library
Or [react-intl-universal-extract](https://github.com/alibaba/react-intl-universal/tree/master/packages/react-intl-universal-extract) for react-intl-universal

What is the recommended way to maintain the dict passed to AWS Amplify I18n module?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.