-
Notifications
You must be signed in to change notification settings - Fork 680
Closed
Labels
Description
What happened?
Description
When retrieving the Country Name using one of these methods:
{{ craft.app.getAddresses().countryRepository.get(address.countryCode).name }}
{% set storeCountries = craft.commerce.getStores().getCurrentStore().getCountriesList() %}
While on an english website, for NL
it returns the name Netherlands
instead of The Netherlands
.
An article about the proper writing can be found here: https://www.jurisfluence.nl/en/netherlands/
I'm not sure if this can be fixed or is something we have to check in the code and depending on the locale and country code add the the
ourselves at various places.
Steps to reproduce
- Have an address in the Netherlands
- Return the country name from the address.
Craft CMS version
5.8.17
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response