Skip to content

Commit 61c4f2e

Browse files
senpossdispater
authored andcommitted
Fix localization section in README (#229)
1 parent d2477ff commit 61c4f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ If the locale does not exist you will need to create it by using the ``clock`` u
203203

204204
.. code-block:: bash
205205
206-
./clock locale:dump <your-locale>
206+
./clock locale:create <your-locale>
207207
208208
It will generate a directory in ``pendulum/locales`` named after your locale, with the following
209209
structure:
@@ -218,7 +218,7 @@ The ``locale.py`` file must not be modified. It contains the translations provid
218218
the CLDR database.
219219

220220
The ``custom.py`` file is the one you want to modify. It contains the data needed
221-
by Pendulum that are not provided by the CLDR database. You can take the `en <https://github.com/sdispater/pendulum/tree/master/pendulum/locale/en/custom.py>`_
221+
by Pendulum that are not provided by the CLDR database. You can take the `en <https://github.com/sdispater/pendulum/tree/master/pendulum/locales/en/custom.py>`_
222222
data as a reference to see which data is needed.
223223

224224
You should also add tests for the created or modified locale.

0 commit comments

Comments
 (0)