Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8943467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:46:39+00:00 2026-06-15T11:46:39+00:00

I am using MooTools 1.4.1 (full More) and experience a problem with inheriting Locale.define(‘de-CH’).inherit(‘de-DE’,

  • 0

I am using MooTools 1.4.1 (full More) and experience a problem with inheriting

Locale.define('de-CH').inherit('de-DE', 'Date');

When I use this Locale (de-CH), and access it as follows

var myLocale = Locale.getCurrent()

myLocale.sets.Date is NOT defined, the only thing that is defined is myLocale.sets.FormValidator, but that is only because this is explicitly set and not inherited.

When validating Dates, for example, this results in an error, obviously.

So, in my eyes, I am doing something wrong or the inheriting-Mechanism of Locale has a bug.

Anyone has experience? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:46:41+00:00Added an answer on June 15, 2026 at 11:46 am

    You’re not supposed to directly use the sets property of a locale. The sets property will only contain the sets defined on that locale. Inherited sets are only defined on the inherited locale (which you can actually see by looking at myLocale.inherits.sets, but that’s not supposed to be used directly either).

    Instead, using myLocale.get('Date') will return the set you need.

    Using Locale.get('Date') will work as well and will always return the set of the currently active locale (set through Locale.use('de-CH')).

    You can also use calls like .get('Date.months') to get a specific property.

    More information can be found in MooTools’ Locale documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using mootools.js 1.3.2 and mootools-more.js As far as I can tell this is supposed
Using mootools I have a regex like this: new RegExp('^([^\\D'+ separator +']+)(\\d{2})'); In a
I have been using mootools for a year now. I need to use jquery
I am using this sliding top panel using mootools (for orientation, the code is
I noticed a lot of JQuery answers on this, but I'm using MooTools... I
I am using mootools in one of my webpages. http://www.mstockphoto.net/drsdirect.net/pricing/tooltipsvn.html In this page the
Hiya guys heres my question: im using mootools and im using this demo-> Drag.Move
I've been working on some simple AJAX functions recently, using MooTools. My problem lies
I have a problem with the Mootools get method and IE8. This is the
I have created a new class using MooTools. My class looks like this Updated:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.