APIv3: Country list not translated when gettext native is enabled
How to reproduce
- Put you site in another language then english
- Enable gettext native in civicrm.settings.php
- Do an API rest call (with site key etc..) of Address.getfields (api_action=create). Look at the options at of the country list
Result
The country names are in English
Expected result
Localized country names.
Note
Doing the getfields in the api explorer will give you the translated country names. Only when you do the getfields api call via REST you will see the english list.