Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Slovak localization
Browse files Browse the repository at this point in the history
added rows regarding Slovak language
  • Loading branch information
flyer05 authored and fbergkemper committed Feb 14, 2017
1 parent 6bdcaf4 commit fa93cdd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions public/js/datatables.functions.js
Expand Up @@ -61,7 +61,11 @@ function setDtLocale(val) {
case 'tr':
case 'tr_TR':
dt_locale = 'tr_TR';
break;
break;
case 'sk':
case 'sk_SK':
dt_locale = 'sk_SK';
break;
default:
dt_locale = 'en_EN';
}
Expand Down Expand Up @@ -439,14 +443,18 @@ function getLocale(locale) {
case 'es_ES':
lang = 'Spanish.json';
break;
case 'nl':
case 'nl':
case 'nl_BE':
lang = 'Dutch.json';
break;
case 'tr':
case 'tr_TR':
lang = 'Turkish.json';
break;
case 'sk':
case 'sk_SK':
lang = 'Slovak.json';
break;
default:
lang = 'English.json';
}
Expand Down

0 comments on commit fa93cdd

Please sign in to comment.