Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n #241

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

i18n #241

wants to merge 3 commits into from

Conversation

dtinth
Copy link
Contributor

@dtinth dtinth commented Mar 27, 2019

New function __(th, en) is added.

It will return the English or Thai text based on current language, and updates automatically. It returns an element (not string) (that’s how it can update automatically), therefore it must be used in React context.

Need someone to help continue this localization internationalization.

@dtinth dtinth changed the title l10n g11n Mar 27, 2019
@dtinth dtinth changed the title g11n i18n Mar 27, 2019
@codeclimate
Copy link

codeclimate bot commented Mar 27, 2019

Code Climate has analyzed commit 8853fa4 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 34.2% (0% is the threshold).

This pull request will bring the total coverage in the repository to 8.5% (0.5% change).

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant