mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Added "lv" to the list of supported languages in the README
This commit is contained in:
@@ -36,7 +36,7 @@ Besides the numerical argument, there's two optional arguments.
|
|||||||
**ordinal:** A boolean flag indicating to return an ordinal number instead of a cardinal one.
|
**ordinal:** A boolean flag indicating to return an ordinal number instead of a cardinal one.
|
||||||
|
|
||||||
**lang:** The language in which to convert the number. Supported languages are ``en``, ``fr``,
|
**lang:** The language in which to convert the number. Supported languages are ``en``, ``fr``,
|
||||||
``de``, ``es``, ``lt`` and ``en_GB``. You can supply values like ``fr_FR``, the code will be
|
``de``, ``es``, ``lt``, ``lv`` and ``en_GB``. You can supply values like ``fr_FR``, the code will be
|
||||||
correctly interpreted. If you supply an unsupported language, ``NotImplementedError`` is raised.
|
correctly interpreted. If you supply an unsupported language, ``NotImplementedError`` is raised.
|
||||||
Therefore, if you want to call ``num2words`` with a fallback, you can do::
|
Therefore, if you want to call ``num2words`` with a fallback, you can do::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user