Skip to content

Commit 9982db0

Browse files
committed
docs: Correct spelling
1 parent 37ece4e commit 9982db0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎user_guide_src/source/outgoing/localization.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,12 @@ The translated messages will be automatically picked
256256
up because the translations folders get mapped appropriately.
257257

258258

259-
Automatic Translation Search via Command
259+
Generating Translation Files via Command
260260
========================================
261261

262262
.. versionadded:: 4.5.0
263263

264-
You can automatically find and update translation files in your **app/** folder. The command will search for the use of the ``lang()`` function, combine the current translation keys in **app/Language** by defining the locale ``defaultLocale`` from **Config/App**.
264+
You can automatically generate and update translation files in your **app** folder. The command will search for the use of the ``lang()`` function, combine the current translation keys in **app/Language** by defining the locale ``defaultLocale`` from ``Config\App``.
265265
After the operation, you need to translate the language keys yourself.
266266
The command is able to recognize nested keys normally ``File.array.nested.text``.
267267
Previously saved keys do not change.
@@ -273,7 +273,7 @@ Previously saved keys do not change.
273273
.. literalinclude:: localization/019.php
274274

275275

276-
.. note:: Command ignoring **app/Language/** path.
276+
.. note:: The command ignores **app/Language/** path.
277277

278278

279279
Before updating, it is possible to preview the translations found by the command:
@@ -292,4 +292,4 @@ Detailed information can be found by running the command:
292292

293293
.. code-block:: console
294294
295-
php spark help lang:find
295+
php spark lang:find --help

0 commit comments

Comments
 (0)