- protected function getDigitGroupingPattern() {
- return $this->language->digitGroupingPattern();
- }
-
- /**
- * Get the digit transform table for the content language
- *
- * @return array
- */
- protected function getDigitTransformTable() {
- return $this->language->digitTransformTable();
- }
-
- /**
- * Get seperator transform table required for converting
- * the . and , sign to appropriate forms in site content language.
- *
- * @return array
- */
- protected function getSeparatorTransformTable() {
- return $this->language->separatorTransformTable();
- }
-
-
- /**
- * Get all the dynamic data for the content language to an array
- *
- * @return array
- */
- protected function getData() {
+ protected function getData( ResourceLoaderContext $context ) {
+ $language = Language::factory( $context->getLanguage() );