Skip to content

Commit 79158f8

Browse files
authored
take into account the current supported locales!
1 parent e23c318 commit 79158f8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,15 @@ $("div#clock").clock({"timeFormat":"h:i:s A e I"});
8282

8383
## Language options
8484

85-
Includes 6 language translations for days of the week and months of the year: English, French, Spanish, Italian, German, Russian.
85+
Includes 48 language translations for days of the week and months of the year.
86+
Supported locales are:
87+
"am", "ar", "bn", "bg", "ca", "zh", "hr", "cs", "da", "nl", "en", "et", "fi", "fr", "de", "el", "gu", "hi", "hu", "id", "it", "ja", "kn", "ko", "lv", "lt", "ms", "ml", "mr", "mo", "ps", "fa", "pl", "pt", "ro", "ru", "sr", "sk", "sl", "es", "sw", "sv", "ta", "te", "th", "tr", "uk", "vi"
88+
8689
```JavaScript
8790
$("div#clock").clock({"langSet":"de"});
8891
```
8992

90-
The language translations can be easily extended. To add Portuguese language:
93+
The language translations can be easily extended or overwritten. To overwrite the included Portuguese language:
9194
```JavaScript
9295
$.clock.locale.pt = {
9396
"weekdays":["Domingo","Segunda-feira", "Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira", "Sábado"],

0 commit comments

Comments
 (0)