Skip to content

Commit cfa28f5

Browse files
committed
added sk_SK language into the locale switch
1 parent ec5600a commit cfa28f5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,17 @@ const currentLocale = 'en_US';
429429

430430
const data = {
431431
en_US: {
432+
language: 'Language',
432433
button: {
433434
login: 'Log In',
434435
signup: 'Sign Up'
435436
}
437+
}, en_US: {
438+
language: 'Jazyk',
439+
button: {
440+
login: 'Prihlasit sa',
441+
signup: 'Odhlasit sa'
442+
}
436443
}
437444
};
438445

@@ -450,7 +457,10 @@ React.render(
450457
<ul>
451458
<li><Translate path="button.login" /></li>
452459
<li><Translate path="button.signup" /></li>
453-
<li>Language <LocaleSwitch locales={locales} /></li>
460+
<li>
461+
<Translate path="language" />
462+
<LocaleSwitch locales={locales} />
463+
</li>
454464
</ul>
455465
</nav>
456466
</LocaleProvider>

0 commit comments

Comments
 (0)