Skip to content

Commit 92b4117

Browse files
EPoikanshugovk
andauthored
Add Latvian language localization (#301)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent aab9dab commit 92b4117

4 files changed

Lines changed: 413 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ size or throughput. It is localized to:
3232
- Japanese
3333
- Klingon
3434
- Korean
35+
- Latvian
3536
- Norwegian
3637
- Persian
3738
- Polish

src/humanize/i18n.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"it_IT": ".",
2626
"pt_BR": ".",
2727
"hu_HU": " ",
28+
"lv": " ",
2829
}
2930

3031
# Mapping of locale to decimal separator
@@ -34,6 +35,7 @@
3435
"it_IT": ",",
3536
"pt_BR": ",",
3637
"hu_HU": ",",
38+
"lv": ",",
3739
}
3840

3941

0 commit comments

Comments
 (0)