Chinese language in drupal bug
Submitted by chinhnat on Tue, 11/08/2016 - 08:16
Forums:
drupal 7.502
drupal 7.51
Chinese, Simplified zh-hans
https://www.drupal.org/project/h5p
7.x-1.20 7.x-1.19 7.x-1.18
language:zh
I have set the Drupal site to Chinese, but I still see all h5p editor and UI in english. Although H5P uses the same language in the authoring tool as the rest of the site, but it isn't work on drupal and Chinese.
chinhnat
Tue, 11/08/2016 - 08:19
Permalink
you toohttps://h5p.org/node
you too
https://h5p.org/node/3202
tim
Tue, 11/08/2016 - 15:36
Permalink
Chinese Language in Drupal
Hi, unfortunately the editor for h5p doesn't have a chinese language file yet:
https://github.com/h5p/h5p-editor-php-library/tree/master/language
chinhnat
Wed, 11/09/2016 - 10:32
Permalink
not h5p editor
not only h5p editor doesn't have a chinese language file, but also h5p-interactive-video etc.
All official-h5p-release-20161020.h5p isn't work on drupal and Chinese.
I guess that Chinese language have zh and zh-cn. maybe somethings wrong.
tim
Fri, 11/11/2016 - 09:25
Permalink
Chinese Language in Drupal
Hi, thanks for reporting this. I'm going to try and test it locally.
tim
Fri, 11/18/2016 - 08:14
Permalink
Chinese Language in Drupal
Hi, sorry for the late reply. This is because the language file zh.json should be called zh-hans.json in drupal. You could try renaming it and see if drupal picks it up.
Since the platforms (wordpress, Drupal etc) expect different file names it is a bit hard to make sure all the translations work everywhere. However, it's something that will be improved in the near future.