Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Feature i18n improve #47

Merged
merged 3 commits into from
Feb 14, 2019

Conversation

wildskyf
Copy link
Member

No description provided.

@@ -11,6 +11,8 @@ import platform from 'platform'

import * as constants from '../constants/Constants'

const language = navigator.language.split(/[-_]/)[0]; // language without region code
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wildskyf let's have only one source of truth for language detection.

One suggestion is moving line 53 - 56 in src/index.js to src/utils/utils.js as an exported function.

@sammui-AILabs sammui-AILabs merged commit 5daf78e into feature__ui-update-version-0.1.2 Feb 14, 2019
@wildskyf wildskyf deleted the feature__i18n_improve branch May 14, 2019 09:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants