From 23c1720fd672995513734fedccbbc3298531a8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?= <25435858+inigomarquinez@users.noreply.github.com> Date: Wed, 22 May 2024 10:55:42 +0200 Subject: [PATCH] docs: fix typos in README (#256) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 337ad328..6c4aa357 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,7 @@ https://user-images.githubusercontent.com/79102959/134897712-95e4391c-cfbb-42cd- | search | Allows the user to search typing in the select control | boolean | false | | flag | Shows the flag of the country before the name | boolean | false | -The countires will be displayed in the language according to the `language` attribute of the FormBuilder. It should use the ISO 639-1 code of the language to display countries names. Available laguages: `en`, `es`, `de`, `fr`. +The countries will be displayed in the language according to the `language` attribute of the FormBuilder. It should use the ISO 639-1 code of the language to display countries names. Available laguages: `en`, `es`, `de`, `fr`. This library depends on the [`i18n-iso-countries`](https://www.npmjs.com/package/i18n-iso-countries) library to translate the country names and flags. If you want to translate the countries to a different language, you can use the `registerLocale` method of the `i18n-iso-countries` library to register a new locale. For example, to translate the countries to Afrikaans, install the library and do the following: @@ -300,7 +300,7 @@ countriesTools.registerLocale(afLocale) > [!IMPORTANT] > Take into account that the [ISO 3166-2 codes](https://en.wikipedia.org/wiki/ISO_3166-2) of some countries include relevant administrative divisions and dependent territories. For example, for [US](https://en.wikipedia.org/wiki/ISO_3166-2:US) the outlying areas are also officially assigned their own country codes. So you would need to manualy blacklist them if you want to exclude them from the list. -### Country v2 example: +### County subdivision example: ```json {