Skip to content

Commit aae7080

Browse files
committed
Add warning about using the correct language codes
1 parent c1986a6 commit aae7080

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/getting_started/configuration.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,12 @@ Example::
275275

276276
.. note:: Make sure you only define languages which are also in :setting:`django:LANGUAGES`.
277277

278+
.. warning::
279+
280+
Make sure you use **language codes** (`en-us`) and not **locale names**
281+
(`en_US`)here and in :setting:`django:LANGUAGES`.
282+
Use :ref:`check command <cms-check-command>` to check for correct syntax.
283+
278284
``CMS_LANGUAGES`` has different options where you can define how different
279285
languages behave, with granular control.
280286

0 commit comments

Comments
 (0)