From fa93e45ce504f29973eed63978f96a8a6a3f8f40 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Mon, 2 Jun 2014 11:41:38 -0400 Subject: [PATCH] Added "lv" to the list of supported languages in the README --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 03fa4c1..f5c32fd 100644 --- a/README.rst +++ b/README.rst @@ -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. **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. Therefore, if you want to call ``num2words`` with a fallback, you can do::