It is currently Wed Dec 13, 2017 8:49 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sun Oct 14, 2012 10:01 pm 
Offline

Joined: Sun Oct 14, 2012 9:59 pm
Posts: 2
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?


Top
 Profile  
 
 Post subject: Problem with Multi Language website
PostPosted: Sun Oct 14, 2012 10:01 pm 
Top  
PostPosted: Mon Oct 15, 2012 2:00 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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 = {

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
PostPosted: Wed Oct 24, 2012 4:43 pm 
Offline

Joined: Sun Oct 14, 2012 9:59 pm
Posts: 2
May I know where Hyphenator.js file is? I try to search it but can't find it inside Joomla directories.


Top
 Profile  
 
PostPosted: Sun Oct 28, 2012 3:46 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
It can be found in
Code:
plugins/content/admirorcolumnizer/scripts

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
PostPosted: Wed Nov 05, 2014 10:53 pm 
Offline

Joined: Wed Nov 05, 2014 10:34 pm
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: Problem with Multi Language website
PostPosted: Wed Nov 05, 2014 10:53 pm 
Top  
PostPosted: Thu Mar 19, 2015 3:44 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Thanks for sharing :)

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group