← Back to team overview

mahara-contributors team mailing list archive

[Bug 1265061] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2853
Committed: http://gitorious.org/mahara/mahara/commit/0bff3169c44aa6057132443760966668166a0167
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 0bff3169c44aa6057132443760966668166a0167
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Dec 31 10:08:50 2013 +1300

Detecting language for tinymce more robustly (Bug #1265061)

Allowing for language dialects like zh_TW vs zh_CN vs zh_HK

As we have a tinymce zh-tw.js language pack we should use it when the
mahara language pack is zh_TW.utf8

Change-Id: Ie29a2b1cd89cb092ee646f43d0df011774d289c4
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1265061

Title:
  Add support for regional languages to TinyMCE language detection

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Taking just the fist 2 letters of the current language to select which
  language file to use with tinymce will not work correctly for some
  languages dialects.

  eg Chinese, traditional is represented with 'zh_tw' in mahara language
  packs (http://langpacks.mahara.org/)  - note the underscore

  and is represented as zh-tw.js for the tinymce language pack - note
  the hyphen.

  And is different to the tinymce language pack zh-cn.js

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1265061/+subscriptions


References