This is an archived page. It's not actively maintained.

This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

This page was auto-generated because a user created a sub-page to this page.

The language.code property returns the code of the currently active language and allows to change the language by setting the value to a new code.
The language.direction property returns the direction (ltr or rtl) of the currently active language.