Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #111322
    yuktha reddy
    Participant

    when we set scheduler locale to any language why do we have to set up message property for “today” and “more” where as days and months are automatically getting updated according to the locale.

    #111325
    Markov
    Keymaster

    Hi,

    Dates are automatically translated, because we use toLocaleDateString’s native method of the Date object. However, any other strings should be translated by using a combination of ‘messages’ and ‘locale’ properties. The ‘messages’ property is a json with key-value pairs and you will need to create a specific json for each ‘locale’ you want to use. For example: messages[‘it’] = { // your setttings here }

    Regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.