Skip to content

Commit 743f44d

Browse files
committed
docs: improve description
1 parent f0d980f commit 743f44d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

user_guide_src/source/outgoing/localization.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ file:
8989

9090
.. literalinclude:: localization/018.php
9191

92-
.. note:: ``useSupportedLocalesOnly()`` can be used since v4.3.0.
92+
.. note:: The ``useSupportedLocalesOnly()`` method can be used since v4.3.0.
9393

9494
Retrieving the Current Locale
9595
=============================
@@ -225,6 +225,10 @@ You could download that repository, and copy its **Language** folder
225225
into your **app** folder. The incorporated translations will be automatically
226226
picked up because the ``App`` namespace is mapped to your **app** folder.
227227

228-
Alternately, a better practice would be to ``composer require codeigniter4/translations``
229-
inside your project, and the translated messages will be automatically picked
228+
Alternately, a better practice would be to run the following command inside your
229+
project::
230+
231+
> composer require codeigniter4/translations
232+
233+
The translated messages will be automatically picked
230234
up because the translations folders get mapped appropriately.

0 commit comments

Comments
 (0)