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

Consider changing localeSlug to lang #20

Open
atimmer opened this issue Sep 13, 2016 · 1 comment
Open

Consider changing localeSlug to lang #20

atimmer opened this issue Sep 13, 2016 · 1 comment

Comments

@atimmer
Copy link
Contributor

atimmer commented Sep 13, 2016

The attribute for specifying the language to Jed is lang inside the meta object. On https://github.com/Automattic/i18n-calypso/blob/master/lib/index.js#L177 localeSlug is assumed which requires more attribute juggling when a json from a tool such as po2json is used.

It would be better to change this to lang to be compatible with Jed.

@ryerh
Copy link
Contributor

ryerh commented Mar 27, 2017

If this is a feature, should it be listed in README?

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

No branches or pull requests

2 participants