Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow Widget: load translation files using wpcom language codes.
Related: #2698 The widget previously used the site's language code to populate the `data-lang` parameter. that parameter is used to grab language files from WordPress.com, and should consequently use a language code that's available on WordPress.com. We consequently use the data available in locales.php to use the `slug` language code instead of `wp_locale` for each language.
- Loading branch information