Skip to content

Commit 6a2885d

Browse files
authored
Typos in localization (codeigniter4#9768)
I was reading through the documentation and some small typos caught my eye. "a locale that are not valid" - singular locale so plural "are" is not valid, changed to is "it also support nested definition" - subject of "it" is singular, so "support" must also be singular, changed to supports "will be used in it's place" - possessive form of it, corrected to its
1 parent f36eeec commit 6a2885d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_guide_src/source/outgoing/localization.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ In this example, if the user tried to visit **http://example.com/fr/books**, the
8383
set to ``fr``, assuming it was configured as a valid locale.
8484

8585
If the value doesn't match a valid locale as defined in ``$supportedLocales`` in **app/Config/App.php**, the default
86-
locale will be used in it's place, unless you set to use only the supported locales defined in the App configuration
86+
locale will be used in its place, unless you set to use only the supported locales defined in the App configuration
8787
file:
8888

8989
.. literalinclude:: localization/018.php
@@ -104,7 +104,7 @@ the :doc:`../incoming/incomingrequest`:
104104
:lines: 2-
105105

106106
Before setting the locale, you must set valid locales. Because any attempt to
107-
set a locale that are not valid will result in
107+
set a locale that is not valid will result in
108108
the :ref:`default locale <setting-the-default-locale>` being set.
109109

110110
By default, the valid locales are defined in ``Config\App::$supportedLocales``
@@ -172,7 +172,7 @@ Within the file, you would return an array, where each element in the array has
172172

173173
.. note:: You cannot use dots (``.``) at the beginning and end of language keys.
174174

175-
It also support nested definition:
175+
It also supports nested definition:
176176

177177
.. literalinclude:: localization/008.php
178178

0 commit comments

Comments
 (0)