kalinkrustev / primelocale

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internationalization and Localization

The Locale API allows setting i18n and l7n options globally for the components. You can import json files in this repo and use them in the locale API in the Prime UI libraries.

Prime UI libraries only provide English translations by default, if you'd like to share translations, please contribute to this repo.

Default Locale Options

Key Value
startsWith Starts with
contains Contains
notContains Not contains
endsWith Ends with
equals Equals
notEquals Not equals
noFilter No Filter
lt Less than
lte Less than or equal to
gt Greater than
gte Greater than or equal to
dateIs Date is
dateIsNot Date is not
dateBefore Date is before
dateAfter Date is after
custom Custom
clear Clear
apply Apply
matchAll Match All
matchAny Match Any
addRule Add Rule
removeRule Remove Rule
accept Yes
reject No
choose Choose
upload Upload
cancel Cancel
dayNames ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
dayNamesShort ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
dayNamesMin ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]
monthNames ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
monthNamesShort ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
today Today
weekHeader Wk
firstDayOfWeek 0
dateFormat mm/dd/yy
weak Weak
medium Medium
strong Strong
passwordPrompt Enter a password
emptyFilterMessage No available options
emptyMessage No results found

About