{"action":"created","issue":{"url":"https://api.github.com/repos/JPhMaat/jmgallery/issues/1","labels_url":"https://api.github.com/repos/JPhMaat/jmgallery/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/JPhMaat/jmgallery/issues/1/comments","events_url":"https://api.github.com/repos/JPhMaat/jmgallery/issues/1/events","html_url":"https://github.com/JPhMaat/jmgallery/issues/1","id":97956184,"number":1,"title":"language file translation can not work ","user":{"login":"baijianpeng","id":1249063,"avatar_url":"https://avatars.githubusercontent.com/u/1249063?v=3","gravatar_id":"","url":"https://api.github.com/users/baijianpeng","html_url":"https://github.com/baijianpeng","followers_url":"https://api.github.com/users/baijianpeng/followers","following_url":"https://api.github.com/users/baijianpeng/following{/other_user}","gists_url":"https://api.github.com/users/baijianpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/baijianpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijianpeng/subscriptions","organizations_url":"https://api.github.com/users/baijianpeng/orgs","repos_url":"https://api.github.com/users/baijianpeng/repos","events_url":"https://api.github.com/users/baijianpeng/events{/privacy}","received_events_url":"https://api.github.com/users/baijianpeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T14:58:11Z","updated_at":"2015-08-02T12:04:20Z","closed_at":null,"body":"hi, \r\n\r\nToday I tried to translate this plugin into Chinese language, I copied the en-GB folder and renamed it to zh-CN , as well as the language files inside this folder also renamed after the zh-CN language tag.\r\n\r\nThen I translated those two language files into Chinese language and saved in utf-8 encoding without BOM.\r\n\r\nHowever, I noticed that the backend of the plugin did not load my translations, more accurately, only the file zh-CN.plg_content_jmgallery.sys.ini was loaded, because I can see that the description for the plugin has been shown in Chinese language, just as I translated. But the other language file was not loaded at all.\r\n\r\nPlease check your language file and your XML file for the plugin.\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/JPhMaat/jmgallery/issues/comments/127020071","html_url":"https://github.com/JPhMaat/jmgallery/issues/1#issuecomment-127020071","issue_url":"https://api.github.com/repos/JPhMaat/jmgallery/issues/1","id":127020071,"user":{"login":"baijianpeng","id":1249063,"avatar_url":"https://avatars.githubusercontent.com/u/1249063?v=3","gravatar_id":"","url":"https://api.github.com/users/baijianpeng","html_url":"https://github.com/baijianpeng","followers_url":"https://api.github.com/users/baijianpeng/followers","following_url":"https://api.github.com/users/baijianpeng/following{/other_user}","gists_url":"https://api.github.com/users/baijianpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/baijianpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijianpeng/subscriptions","organizations_url":"https://api.github.com/users/baijianpeng/orgs","repos_url":"https://api.github.com/users/baijianpeng/repos","events_url":"https://api.github.com/users/baijianpeng/events{/privacy}","received_events_url":"https://api.github.com/users/baijianpeng/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T12:04:20Z","updated_at":"2015-08-02T12:04:20Z","body":"hi,\n\nI did not test your module, only the plugin. Did you noticed that in the\nXML file of that plugin, you used dash (-) instead of underline (_) in\nlanguage Key ? Maybe this is the cause?\n\nBTW, the most annoying issue is not the language file, but the usage. I\ndon't know how to use this plugin! Do you have any detailed instructions\nwith online demo for each syntax tag?\n\nThank you.\n\nbaijianpeng\n\n2015-07-30 0:02 GMT+08:00 Jan Maat <notifications@github.com>:\n\n> Hi,\n>\n> I checked the XML and language files and found no issues. On my system the\n> language changes between Dutch and English.\n>\n>\n>\n> 2015-07-29 16:58 GMT+02:00 baijianpeng <notifications@github.com>:\n>\n> > hi,\n> >\n> > Today I tried to translate this plugin into Chinese language, I copied\n> the\n> > en-GB folder and renamed it to zh-CN , as well as the language files\n> inside\n> > this folder also renamed after the zh-CN language tag.\n> >\n> > Then I translated those two language files into Chinese language and\n> saved\n> > in utf-8 encoding without BOM.\n> >\n> > However, I noticed that the backend of the plugin did not load my\n> > translations, more accurately, only the file\n> > zh-CN.plg_content_jmgallery.sys.ini was loaded, because I can see that\n> the\n> > description for the plugin has been shown in Chinese language, just as I\n> > translated. But the other language file was not loaded at all.\n> >\n> > Please check your language file and your XML file for the plugin.\n> >\n> > Thank you.\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <https://github.com/JPhMaat/jmgallery/issues/1>.\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/JPhMaat/jmgallery/issues/1#issuecomment-125999730>.\n>\n"}}