Skip to content
Snippets Groups Projects
Commit 8ff02008 authored by Benni Mack's avatar Benni Mack Committed by Georg Ringer
Browse files

[FEATURE] Add all countries and their localized names

TYPO3 now supports loading a list of all
countries of the world in all supported
translations that TYPO3 has to offer - out of the box.

For this, a dev-dependency "sokil/php-isocodes-db-i18n"
package is used, which contains a list of
all countries (ISO 3166-1), their short names,
their official names in english, and optional
translations.

This package fetches the data from debian
repositories and is updated automatically
on the second day of each month.

A new Build script then transfers the information
and the translations (originally in PO files)
via symfony/translation into a PHP class
and XLF translations for country names ("France") and
official country names ("French Republic").

The Build script is already prepared
to also fetch language script codes in the future,
along with languages and/or currencies as well.

A new API (CountryProvider) is available
which returns the countries, and prepared
label strings to be used with TYPO3's language
me...
parent 3e0c6591
No related merge requests found
Showing
with 22283 additions and 1 deletion
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment