forked from kete/tiny_mce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: locale was not changing based on the users session
By using a DEFAULT_OPTIONS constant, we were setting the locale to the locale of the first request (usually en). To get around this, make it a class method which we call when creating the configurations. Also added checking of the locale. If it doesn't exist in TinyMCE, default to English.
- Loading branch information
Kieran Pilkington
committed
Mar 25, 2010
1 parent
58fffef
commit fc84549
Showing
2 changed files
with
97 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# | ||
# For more information about available languages, see | ||
# http://tinymce.moxiecode.com/download_i18n.php | ||
# | ||
|
||
- ar | ||
- az | ||
- be | ||
- bg | ||
- bn | ||
- br | ||
- bs | ||
- ca | ||
- ch | ||
- cs | ||
- cy | ||
- da | ||
- de | ||
- dv | ||
- el | ||
- en | ||
- es | ||
- et | ||
- fa | ||
- fi | ||
- fr | ||
- gl | ||
- gu | ||
- he | ||
- hi | ||
- hr | ||
- hu | ||
- hy | ||
- ia | ||
- id | ||
- ii | ||
- is | ||
- it | ||
- ja | ||
- ko | ||
- lb | ||
- lt | ||
- lv | ||
- mk | ||
- ml | ||
- mn | ||
- ms | ||
- nb | ||
- nl | ||
- nn | ||
- no | ||
- pl | ||
- ps | ||
- pt | ||
- ro | ||
- ru | ||
- sc | ||
- se | ||
- si | ||
- sk | ||
- sl | ||
- sq | ||
- sr | ||
- sv | ||
- ta | ||
- te | ||
- th | ||
- tr | ||
- tt | ||
- tw | ||
- uk | ||
- ur | ||
- vi | ||
- zh | ||
- zu |