Berikut adalah template agar filter yang digunakan berbahasa Indonesia:
[code language=”javascript”]</pre>
filterable: {
messages: {
info: "Custom header text:", // sets the text on top of the filter menu
filter: "CustomFilter", // sets the text for the "Filter" button
clear: "CustomClear", // sets the text for the "Clear" button
// when filtering boolean numbers
isTrue: "custom is true", // sets the text for "isTrue" radio button
isFalse: "custom is false", // sets the text for "isFalse" radio button
//changes the text of the "And" and "Or" of the filter menu
and: "CustomAnd",
or: "CustomOr"
},
operators: {
//filter menu for "string" type columns
string: {
eq: "Custom Equal to",
neq: "Custom Not equal to",
startswith: "Custom Starts with",
contains: "Custom Contains",
endswith: "Custom Ends with"
},
//filter menu for "number" type columns
number: {
eq: "Custom Equal to",
neq: "Custom Not equal to",
gte: "Custom Is greater than or equal to",
gt: "Custom Is greater than",
lte: "Custom Is less than or equal to",
lt: "Custom Is less than"
},
//filter menu for "date" type columns
date: {
eq: "Custom Equal to",
neq: "Custom Not equal to",
gte: "Custom Is after or equal to",
gt: "Custom Is after",
lte: "Custom Is before or equal to",
lt: "Custom Is before"
},
//filter menu for foreign key values
enums: {
eq: "custom Is Equal to",
neq: "custom Is Not equal to"
}
}
}
<pre>[/code]
Berikut adalah yang saya sudah terjemahkan:
[code language=”javascript”]</pre>
filterable: {
messages: {
info: "Tampilkan yang memiliki nilai:", // sets the text on top of the filter menu
filter: "Filter", // sets the text for the "Filter" button
clear: "Hapus", // sets the text for the "Clear" button
// when filtering boolean numbers
isTrue: "Benar", // sets the text for "isTrue" radio button
isFalse: "Salah", // sets the text for "isFalse" radio button
//changes the text of the "And" and "Or" of the filter menu
and: "Dan",
or: "Atau"
},
operators: {
//filter menu for "string" type columns
string: {
eq: "Sama Dengan",
neq: "Tidak Sama Dengan",
startswith: "Memiliki Awalan",
contains: "Memiliki Kata",
endswith: "Memiliki Akhiran"
},
//filter menu for "number" type columns
number: {
eq: "Sama Dengan",
neq: "Tidak Sama Dengan",
gte: "Lebih Besar Atau Sama Dengan",
gt: "Lebih Besar",
lte: "Lebih Kecil Atau Sama Dengan",
lt: "Lebih Kecil"
},
//filter menu for "date" type columns
date: {
eq: "Sama Dengan",
neq: "Tidak Sama Dengan",
gte: "Setelah Atau Sama Dengan",
gt: "Setelah",
lte: "Sebelum Atau Sama Dengan",
lt: "Sebelum"
},
//filter menu for foreign key values
enums: {
eq: "Sama Dengan",
neq: "Tidak Sama Dengan"
}
}
}
<pre>[/code]
Jika ada kurang tepat bisa dilakukan kustomisasi lagi.