e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

[Bug]: verify pack for chatbox menu - weird result #5138

Closed Jimmi08 closed 6 months ago

Jimmi08 commented 6 months ago

What e107 version are you using?

v2.3.3

Bug description

I am translating second language. So the site has 3 lans. Everything is correct except the chatbox menu

Admin is in Russian, everything looked correct.

image

How to reproduce

Install Slovak and then Russian pack, then run verify of Russian pack Oh, Russian pack was installed manually, not from admin area.

Expected behavior

After deleting Slovak folder from chatbox menu, everything is ok.

Maybe is something wrong in lan pack. No idea. Thanks. All other plugins are correct.

What browser(s) are you seeing the problem on?

Chrome / Brave

PHP Version

PHP 7.4

tgtje commented 6 months ago

@Jimmi08 looking at lang pack on Translation... the chatbox language folder (SlovaK) contains English + Slovak. This normally should not happen. Both CODE language files should be in their own main LANG folder eg English> english... Slovak > slovak,, Since English is already present in core plug, delete the english files inside the 'Slovak' folder of chatbox. Next tip would be > delete the empty lines and the closing ?> so there would be no chance of whitespace errors

Jimmi08 commented 6 months ago

@tgtje Thank you! I couldn't find it, I checked folders of course, but probably not inside.