jonnsl / sliComments

Comments component for Joomla! 1.6
GNU General Public License v3.0
16 stars 5 forks source link

Missing language files #31

Closed shyanar closed 12 years ago

shyanar commented 12 years ago

I have a similar problem as https://github.com/jonnsl/sliComments/issues/18 or https://github.com/jonnsl/sliComments/issues/19 - language files are missing so strings like COM_COMMENTS_COMMENTS_COUNT appear on the frontpage. Unfortunately, I wasn't able to fix it as advised, as there is only one language file for English: en-GB.com_slicomments.ini

I couldn't find: en-GB.com_slicomments.sys.ini en-GB.lib_decoda.ini en-GB.plg_content_slicomments.ini en-GB.plg_content_slicomments.sys.ini en-GB.plg_slicomments_akismet.ini en-GB.plg_slicomments_akismet.sys.ini neither in the language directory, in the install .zip file nor here in Code/Files.

Thank you

jonnsl commented 12 years ago

these files are located at administrator/language/en-GB/

30

shyanar commented 12 years ago

Thank you. Unfortunately it didn't solve the problem. It turned out the issue is that my default language is Czech.

If I switch the website language to English, comments work just fine. However, when the language is Czech, it doesn't work. I tried to create my own Czech language files (for now simply by renaming the English ones and uploading them to Czech language directories) but nothing changed. Is something else necessary for the Czech language to work? I would by more than happy to translate the extension into Czech, I'm not able to find any other, that would do what I want.

jonnsl commented 12 years ago

You should create the files according to this structure:

- language
- - cs-CZ
- - - cs-CZ.com_slicomments.ini
- administrator
- - language
- - - cs-CZ
- - - - cs-CZ.com_slicomments.ini
- - - - cs-CZ.com_slicomments.sys.ini
- - - - cs-CZ.plg_content_slicomments.ini
- - - - ...

Remember to save the ini files as UTF-8 no bom

shyanar commented 12 years ago

Finally! I accidentally switched .com_slicomments.ini from /language and from /administrator/language Stupid mistake. Thank you again, great extension btw :-)