Yoast / i18n-module

Handle i18n for plugins
GNU General Public License v3.0
22 stars 3 forks source link

The locale name isn't translated in the promobox #17

Open terw-dan opened 7 years ago

terw-dan commented 7 years ago

image

As reported by @afercia in https://github.com/Yoast/i18n-module/issues/15#issuecomment-265753457 the locale name isn't translated, but always in English, no matter the site language or user language.

afercia commented 7 years ago

A while ago I've played a bit with the GP plugin, turns out the locale native_name is available (check for example the gp/api/languages endpoint). It would just need to be added to the projects endpoint but that would require to hack the plugin (it's a two line change):

glotpress locale native name added