Skip to content

Commit 8a9ed47

Browse files
committed
docs: change text decration
1 parent a10c4f6 commit 8a9ed47

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

user_guide_src/source/outgoing/localization.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ language codes like en-US for American English, or fr-FR, for French/France. A m
4040
to this can be found on the `W3C's site <https://www.w3.org/International/articles/language-tags/>`_.
4141

4242
The system is smart enough to fall back to more generic language codes if an exact match
43-
cannot be found. If the locale code was set to **en-US** and we only have language files set up for **en**
44-
then those will be used since nothing exists for the more specific **en-US**. If, however, a language
45-
directory existed at **app/Language/en-US** then that would be used first.
43+
cannot be found. If the locale code was set to ``en-US`` and we only have language files set up for ``en``
44+
then those will be used since nothing exists for the more specific ``en-US``. If, however, a language
45+
directory existed at the **app/Language/en-US** directory then that would be used first.
4646

4747
Locale Detection
4848
================
@@ -65,7 +65,7 @@ The first value tells the Request class that we do want to negotiate a locale, s
6565
Once this is enabled, the system will automatically negotiate the correct language based upon an array
6666
of locales that you have defined in ``$supportLocales``. If no match is found between the languages
6767
that you support, and the requested language, the first item in $supportedLocales will be used. In
68-
the following example, the **en** locale would be used if no match is found:
68+
the following example, the ``en`` locale would be used if no match is found:
6969

7070
.. literalinclude:: localization/003.php
7171

@@ -80,7 +80,7 @@ segment will be your locale:
8080

8181
.. literalinclude:: localization/004.php
8282

83-
In this example, if the user tried to visit ``http://example.com/fr/books``, then the locale would be
83+
In this example, if the user tried to visit **http://example.com/fr/books**, then the locale would be
8484
set to ``fr``, assuming it was configured as a valid locale.
8585

8686
If the value doesn't match a valid locale as defined in ``$supportedLocales`` in **app/Config/App.php**, the default

0 commit comments

Comments
 (0)