Admiror Joomla! Community
http://www.vasiljevski.com/forum/

Problem with Multi Language website
http://www.vasiljevski.com/forum/viewtopic.php?f=32&t=668
Page 1 of 1

Author:  blaszta [ Sun Oct 14, 2012 10:01 pm ]
Post subject:  Problem with Multi Language website

I have multi language website (using Joomla standar module), and everytime I use ACBR in non-english pages there is pop-up warning:

Hyphenator.js says:

An Error ocurred:
The language "vi-vn" is not yet supported.

Maybe it conflicted with Hyphenator.js?

Author:  Vasiljevski [ Mon Oct 15, 2012 2:00 pm ]
Post subject:  Re: Problem with Multi Language website

Can you try to disable Hyphenator?

This is en error because in its language code definitions Hyphenator.js cannot find "vi-vn" but if it is working regardless of this warning, you could add "vi-vn" to Hyphenator.js (line 91):
Code:
   supportedLang = {

Author:  blaszta [ Wed Oct 24, 2012 4:43 pm ]
Post subject:  Re: Problem with Multi Language website

May I know where Hyphenator.js file is? I try to search it but can't find it inside Joomla directories.

Author:  Vasiljevski [ Sun Oct 28, 2012 3:46 pm ]
Post subject:  Re: Problem with Multi Language website

It can be found in
Code:
plugins/content/admirorcolumnizer/scripts

Author:  Caslavcg [ Wed Nov 05, 2014 10:53 pm ]
Post subject:  Re: Problem with Multi Language website

I had same problem too in Joolma 2.5. Solved.
Another same named script (Hyphenator.js) is in the /media/plg_content_hyhenator/js/Hyphenator.js

Download it and put your langage code after supportedLang = { ....
For example, my laguage code is 'sr-yu'. Wasn't there between the others:

supportedLang = {
'be': 'be.js',
'ca': 'ca.js',
'cs': 'cs.js',
'da': 'da.js',
'bn': 'bn.js',
......

I typed it in Hyphenator.js with text editor like here:

supportedLang = {
'sr-yu': 'sr-yu.js',
'be': 'be.js',
'ca': 'ca.js',
'cs': 'cs.js',
'da': 'da.js',
'bn': 'bn.js',[/color]
.....

Save it and upload on server, replace original.
Note: some editors like Dreamweaver after changing Hyphenator.js (in Windows) is renaming file in Hyphenator.js.txt.
You have to remove extension .txt manualy.

Author:  Vasiljevski [ Thu Mar 19, 2015 3:44 pm ]
Post subject:  Re: Problem with Multi Language website

Thanks for sharing :)

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/