Special characters (and MooTools) ruin my life

I am working on the localization of my toolkit.

My goal is that if you are a German web developer and want to use the forEach loop and then enter ['hey', 'there'].forEach(function () {});, they can type['hey', 'there'].fürJeder(function () {});

I have all the words stored in the object in $.i18n.de.

In my javascript file I have

de: {
    extend: 'verlänger',
    forEach: 'fürJeder'
}

but when I enter the object to get the words, they turn into verlänger and fürJeder.

I have no idea why.

Some information:

  • I'm working on MacBook Pro 10.6.7
  • I use Kod as my editor.
  • I use Google Chrome as my browser.
  • I use Option + U + letter to enter ä and ü.

: ?

, .

: . , , , . . 2 API.

+5
2

, , .

( JavaScript), , , , return, var, function, - , , , .., .

- .

, , .

.

+1

( , ), , , :

fürJeder → fuerJeder

verlänger → verlaenger

,

+1

All Articles