[FEATURE] Provide a filter method for countries
Provide a filter method to create a list of countries with given
included and excluded countries.
Resolves: #99732
Related: #99618
Releases: main
Change-Id: I904b9243ddcdc6b0e455096481ed4321900f5ff4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77619
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
[FEATURE] Provide a filter method for countries · TYPO3/typo3@ff4bc31
Provide a filter method to create a list of countries with given included and excluded countries. Resolves: #99732 Related: #99618 Releases: main Change-Id: I904b9243ddcdc6b0e455096481ed4321900f5f...GitHub
[TASK] Enhance documentation of CountrySelectViewHelper
Related: #99618
Resolves: #99788
Releases: main
Change-Id: I826a40e306a77403dd06270eb83f5131920c219d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77661
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
[TASK] Enhance documentation of CountrySelectViewHelper · TYPO3/typo3@ecd2cba
Related: #99618 Resolves: #99788 Releases: main Change-Id: I826a40e306a77403dd06270eb83f5131920c219d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77661 Tested-by: Stefan BürkGitHub
[TASK] Skip country translations in crowdin
As the translations are shipped within the core, those files must not be
translated via crowdin.
Resolves: #99644
Related: #99618
Releases: main
Change-Id: Iecafe06f15d1c6ad89f1fb848b03c98dc6af7e23
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77500
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Benni Mack <benni@typo3.org>
[TASK] Skip country translations in crowdin · TYPO3/typo3@ccaa3af
As the translations are shipped within the core, those files must not be translated via crowdin. Resolves: #99644 Related: #99618 Releases: main Change-Id: Iecafe06f15d1c6ad89f1fb848b03c98dc6af7e2...GitHub
[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
mechanism.
A ViewHelper <f:form.countrySelect>
is added which can be used in Fluid templates.
Example:
<f:form.countrySelect name="country" value="DE" sortByOptionLabel="true" prioritizedCountries="{0: 'DE', 1: 'AT', 2: 'CH'}"/>
Resolves: #99618
Releases: main
Change-Id: I8ed7b05ef59b4c7172045bcaa8a27dc626d39f65
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77470
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
[FEATURE] Add all countries and their localized names · TYPO3/typo3@8ff0200
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&...GitHub
Daniel Goerz likes this.