Skip to content

Commit

Permalink
spelling_language clarification: ss, TT are two-character codes
Browse files Browse the repository at this point in the history
We do not support the ISO numeric or three-letter codes.

Fixes editorconfig#48
  • Loading branch information
cxw42 committed Sep 15, 2024
1 parent 755ddfd commit 04d49b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
copyright = '2019--2024, EditorConfig Team'
author = 'EditorConfig Team'

version = '0.16.0'
release = '0.16.0'
version = '0.16.1'
release = '0.16.1'

# -- General configuration ---------------------------------------------------

Expand Down
4 changes: 3 additions & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ and the supported values associated with them:
Only one language can be specified. There is no default value.

The format is ``ss`` or ``ss-TT``, where ``ss`` is an `ISO 639`_
language code and ``TT`` is an `ISO 3166`_ territory identifier.
two-letter language code and ``TT`` is an `ISO 3166`_ two-letter
territory identifier. (Therefore ``spelling_language`` must be
either two or five characters long.)

**Note:** This property does **not** specify the charset to be used.
The charset is in separate property ``charset``.
Expand Down

0 comments on commit 04d49b7

Please sign in to comment.