Problem with Multi Language website

Joomla! - Admiror Columnizer is based on great jQuery library developed by Adam Wulf. More about Adam's Columnizer library you can find at Columnizer jQuery Plugin webpage.
It comes in All-in-One installer for Joomla! 1.5, Joomla! 1.6, Joomla! 1.7, Joomla! 2.5 and Joomla! 3.x
Post Reply
Message
Author
blaszta
Posts: 2
Joined: Sun Oct 14, 2012 9:59 pm

Problem with Multi Language website

#1 Post by blaszta »

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?

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Problem with Multi Language website

#2 Post by Vasiljevski »

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: Select all

	supportedLang = { 
Help Admiror Gallery become even better,
give us a review on JED

blaszta
Posts: 2
Joined: Sun Oct 14, 2012 9:59 pm

Re: Problem with Multi Language website

#3 Post by blaszta »

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

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Problem with Multi Language website

#4 Post by Vasiljevski »

It can be found in

Code: Select all

plugins/content/admirorcolumnizer/scripts
Help Admiror Gallery become even better,
give us a review on JED

Caslavcg
Posts: 1
Joined: Wed Nov 05, 2014 10:34 pm

Re: Problem with Multi Language website

#5 Post by Caslavcg »

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.

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Problem with Multi Language website

#6 Post by Vasiljevski »

Thanks for sharing :)
Help Admiror Gallery become even better,
give us a review on JED

Post Reply