@halfdan opened this Issue on August 16th 2013 Member

As discussed during the meetup, we want to move translation files away from PHP arrays and use json files instead.

@anonymous-matomo-user commented on August 16th 2013

In ba582598731bda1e238e3dfd2b9e00389c32166d: Converted PHP translations to nested JSON

refs #4086

@anonymous-matomo-user commented on August 16th 2013

In 058c83e3814860b48e63a1fe3d6ea972897c118f: Adjust Piwik_Translate function to handle nested translation array
Adjust Translate class to properly load .json translation into array
Adjust JavaScript translation filter
Adjust plugins manager to load plugin translations properly

refs #4086

@sgiehl commented on August 19th 2013 Member

In 740854c5c011beac0dd34d328061b4362fe3a37a: refs #4086 removed trailing/leading whitespaces from english translations

@sgiehl commented on August 19th 2013 Member

In 5dba66bcf278d40b7b1039b6eda4a78354ec04ba: refs #4086 fixed translationwriter to work with json files

@sgiehl commented on August 19th 2013 Member

In 4be8840e7ec6fc68708d41f049260a56b4e9df24: refs #4086 fixed languagesmanager tests;
now thirdparty translations will be removed

@sgiehl commented on August 19th 2013 Member

In 8e1a4f0089adfc5d6115058f2b2c0d54289acfc9: refs #4086 adjusted automatic updatescript to work with new json format

@sgiehl commented on August 19th 2013 Member

In 5690a7642cfa02dd3040d175e2eb6ccd1fa291a6: refs #4086 updated language files; third party plugins were removed

@anonymous-matomo-user commented on August 21st 2013

In 0499b17c5eb91f4f35cec799830738164a897ab5: Downgrade json_encode to 5.3 for now (ommit JSON_UNESCAPED_UNICODE and JSON_PRETTY_PRINT)
Adjust TranslationWriterTest

fixes #4086

@anonymous-matomo-user commented on August 24th 2013

In 42893f59d8ebe48a177f70dad8440786b4e39530: Fixes failing tests for non-translated translation keys. Thanks to @tsteur for spotting this!

refs #4086

This Issue was closed on October 16th 2013
Powered by GitHub Issue Mirror