Giter Club home page Giter Club logo

primelocale's Introduction

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
filter Filter // only available for PrimeReact
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 // only available for PrimeReact
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
completed Completed
pending Pending
fileSizeTypes ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"],
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"]
chooseYear Choose Year
chooseMonth Choose Month
chooseDate Choose Date
prevDecade Previous Decade
nextDecade Next Decade
prevYear Previous Year
nextYear Next Year
prevMonth Previous Month
nextMonth Next Month
prevHour Previous Hour
nextHour Next Hour
prevMinute Previous Minute
nextMinute Next Minute
prevSecond Previous Second
nextSecond Next Second
am am
pm pm
today Today
weekHeader Wk
firstDayOfWeek 0
showMonthAfterYear false
dateFormat mm/dd/yy
weak Weak
medium Medium
strong Strong
passwordPrompt Enter a password
emptyFilterMessage No results found // @deprecated Use "emptySearchMessage" option instead.
searchMessage {0} results are available
selectionMessage {0} items selected
emptySelectionMessage No selected item
emptySearchMessage No results found
emptyMessage No available options
aria.trueLabel True
aria.falseLabel False
aria.nullLabel Not Selected
aria.star 1 star
aria.stars {star} stars
aria.selectAll All items selected
aria.unselectAll All items unselected
aria.close Close
aria.previous Previous
aria.next Next
aria.navigation Navigation
aria.scrollTop Scroll Top
aria.moveTop Move Top
aria.moveUp Move Up
aria.moveDown Move Down
aria.moveBottom Move Bottom
aria.moveToTarget Move to Target
aria.moveToSource Move to Source
aria.moveAllToTarget Move All to Target
aria.moveAllToSource Move All to Source
aria.pageLabel Page {page}
aria.firstPageLabel First Page
aria.lastPageLabel Last Page
aria.nextPageLabel Next Page
aria.previousPageLabel Previous Page
aria.rowsPerPageLabel Rows per page
aria.jumpToPageDropdownLabel Jump to Page Dropdown
aria.jumpToPageInputLabel Jump to Page Input
aria.selectRow Row Selected
aria.unselectRow Row Unselected
aria.expandRow Row Expanded
aria.collapseRow Row Collapsed
aria.showFilterMenu Show Filter Menu
aria.hideFilterMenu Hide Filter Menu
aria.filterOperator Filter Operator
aria.filterConstraint Filter Constraint
aria.editRow Edit Row
aria.saveEdit Save Edit
aria.cancelEdit Cancel Edit
aria.listView List View
aria.gridView Grid View
aria.slide Slide
aria.slideNumber {slideNumber}
aria.zoomImage Zoom Image
aria.zoomIn Zoom In
aria.zoomOut Zoom Out
aria.rotateRight Rotate Right
aria.rotateLeft Rotate Left

primelocale's People

Contributors

melloware avatar mertsincan avatar tsipiniuk avatar kalinkrustev avatar dbelob avatar koliver94 avatar bitlab-code avatar tsuyoz avatar jadestern avatar stefan-dan avatar tugcekucukoglu avatar ubau avatar shiftcodedream avatar piique avatar aletornesello avatar soydiego avatar dflock avatar fprijate avatar jepsar avatar mees- avatar michastubi avatar martimvs avatar zyf722 avatar maxk4code avatar metinbulak avatar martinaut avatar miloandco avatar mohamed-omar-mubark avatar paulorievrs avatar tavoda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.