@@ -40,9 +40,9 @@ language codes like en-US for American English, or fr-FR, for French/France. A m
4040to this can be found on the `W3C's site <https://www.w3.org/International/articles/language-tags/ >`_.
4141
4242The 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
4747Locale Detection
4848================
@@ -65,7 +65,7 @@ The first value tells the Request class that we do want to negotiate a locale, s
6565Once this is enabled, the system will automatically negotiate the correct language based upon an array
6666of locales that you have defined in ``$supportLocales ``. If no match is found between the languages
6767that 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
8484set to ``fr ``, assuming it was configured as a valid locale.
8585
8686If the value doesn't match a valid locale as defined in ``$supportedLocales `` in **app/Config/App.php **, the default
0 commit comments