The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 107 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: Fri Dec 09, 2011 10:42 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Dec 09, 2011 7:18 am
Posts: 3
It's a content plugin named Availability Calendar.

It's called inside an article using an expression like this: {availcal="name"}


Top
 Profile  
 
PostPosted: Fri Dec 09, 2011 11:14 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 16630
Location: **Translation Matters**
Normally a Content plugin should load its language file automatically depending on the language displayed.

Put debug language on and check what happens.
Some plugins (user, system) may need the lang file to be loaded in the _construct if used in front-end, through the simple code:
Code:
public function __construct(& $subject, $config)
   {
      parent::__construct($subject, $config);
      $this->loadLanguage();
   }

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Fri Dec 09, 2011 4:54 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Dec 09, 2011 7:18 am
Posts: 3
The plugin has got a language loading code like the one you show.

When in language debug, every variable (months names and days names) are enclosed in ** but they are always in French whether it's the original article in French or the English translation by Falang.

The page in French
The page in English

I don't know if it can help you but I tried to delete the file fr-FR.plg_content_machinchose.ini, then the plugin loaded the english file...


Top
 Profile  
 
PostPosted: Mon Dec 12, 2011 3:42 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Apr 24, 2007 11:53 am
Posts: 155
Location: Ipswich, Suffolk, UK
Great extension, I too need the feature to prevent it switching to the homepage when you change language - ideally it should stay the same just change the language - for those who wanted K2 support, there already is, I can send you the files from Falang if you need them or ask Stephane directly.

Ruth

_________________
Ruth Cheesley
Director & Web Design Manager
Virya Technologies - http://www.viryatechnologies.com


Top
 Profile  
 
PostPosted: Mon Dec 12, 2011 5:40 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 12, 2009 11:34 am
Posts: 65
Hi,

You need to wait for the next release (in one week) to solver your switching to home page problem.

Stéphane


Top
 Profile  
 
PostPosted: Sun Dec 18, 2011 7:37 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Feb 04, 2011 5:48 pm
Posts: 6
Great extension!

However I have 2 issues using it with beez_20 template.
    the flags are always vertically adjusted, no matter if I set them to be horizontally
    the slovenian flag is missing although the package install was flawless, the language is active and the database driver is active too
Any ideas?


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Mon Dec 19, 2011 7:27 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 16630
Location: **Translation Matters**
Your installed languages are not 1.7, except for English and Italian.
Install the correct ones.
http://community.joomla.org/translation ... tions.html

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Dec 19, 2011 10:16 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Feb 04, 2011 5:48 pm
Posts: 6
Congratulations for the multilang-core tutorial! It is helping me a lot with my parallel project.

Thank you for the correction. I have removed the unsuitable packages and installed the 1.7 versions but the problem with the flags and slovenian is still the same. What am I missing?


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Mon Dec 19, 2011 10:54 am 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 12, 2009 11:34 am
Posts: 65
Hi Joomlovel,

Falang is based on Joomla default language system. You need to have the same site language and content language
Extensions/Language Manager/Content

The problem with the flag will be fix in the next release (this week probably)

Stéphane Bouey


Top
 Profile  
 
PostPosted: Mon Dec 19, 2011 5:59 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 19, 2011 5:49 pm
Posts: 6
I also switched to J1.7 and freaked when I realized that Joomfish didn'f have a J1.7 version!!! Thank god what you came up with is almost identical and saves me from working with that horrific Joomla language switcher. Everything looks good but the only problem with me is the same as many mentionned, my language links bring me to the appropriate language's homepage an not the translated page. What I want to do seems to be working fine on your site. What did you do? to get it working?

So I am anxiousy awating an update on this post et Merci mille fois pour ton excellent travail!!!


Top
 Profile  
 
PostPosted: Tue Jan 03, 2012 3:37 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 01, 2010 3:33 pm
Posts: 10
Hi Stéphane.
I followed the installation instructions from the Web site and uploaded/enabled the components in the package to my sit eas required. However, when I changed the DB driver to mysqli(Falang), both the front and back end of my site became blank (white) and I have to manually edit the configuration.php file to get everything back. What went wrong and how I can fix it?
Appreciate your help.

Thanks!


Top
 Profile  
 
PostPosted: Tue Jan 03, 2012 3:49 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 12, 2009 11:34 am
Posts: 65
Hi,

Are you sure your server support mysqli ?
You can change to mysql (Falang) and try.

you are right if something goes wrong in the version 1.7.0b4 you need to change manually the configuration.php.

I change this in the 1.0.0 (Stable version).
Stéphane


Top
 Profile  
 
PostPosted: Tue Jan 03, 2012 5:09 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 19, 2011 5:49 pm
Posts: 6
Hi again Stéphane. First... happy new year 2012 and best wishes. You wrote that the latest stable version is 1.0.0? Does this solve the problem I have with my flags linking to the homepage instead of the translated page?

Thanks!


Top
 Profile  
 
PostPosted: Tue Jan 03, 2012 8:09 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 12, 2009 11:34 am
Posts: 65
Yes it's solve this problem (and other problems too)

i change the number because i don't want to follow joomla number , they change too often :)

Stéphane


Top
 Profile  
 
PostPosted: Wed Jan 04, 2012 4:37 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 01, 2010 3:33 pm
Posts: 10
Thanks Stéphane.

I think I used mysqli when I installed Joomla. Anyway, where can I find the mysql (Falang) driver?

Thanks!


Top
 Profile  
 
PostPosted: Wed Jan 04, 2012 12:40 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 12, 2009 11:34 am
Posts: 65
In the FaLang 1.7.0b4 it's in the libraries, you need to activate falang plugin to see it.

In the 1.0.0 Stable version it's in the plugin you don't see it.

Stéphane


Top
 Profile  
 
PostPosted: Wed Jan 04, 2012 4:47 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 01, 2010 3:33 pm
Posts: 10
I just installed the 1.0.0 to try getting around the problem I reported previously. After enabling all components in the package, I got a blank page (white) on the site but the Administrator seemed fine. I had to disable the System-Falang Database Driver to get the site back to normal. What have I done wrong?
I noticed that, in the Configuration for Server, the Sqli (FaLang) option is no longer available.
Please help. Many thanks.


Top
 Profile  
 
PostPosted: Fri Jan 06, 2012 7:49 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Apr 19, 2008 12:10 pm
Posts: 8
biirc wrote:
Yes it's solve this problem (and other problems too)

i change the number because i don't want to follow joomla number , they change too often :)

Stéphane

Thank you Stéphane for new version!
Now we can go directly from a content to its translation. :)
But now I have new problem:
I have a category (news) and a menu-item (news-mnu) which is the type :
Articles » Category List
I have translated the menu, aricles and category to both languages by Falang component.
problem: in default lang. I click on news-mnu and it shows my category as a list, right. then I choose 2nd lang. and this message is appeared:
There are no articles in this category. If subcategories display on this page, they may contain articles.

instead of showing the list in other language!

----------------
j1.7.3 on localhost
falang1.0.0
lang1: en-uk (default)
lang2:en-us


Top
 Profile  
 
PostPosted: Sun Jan 08, 2012 5:36 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Mon Sep 12, 2005 5:23 am
Posts: 297
Location: Stockholm, Sweden
Having ran out of patience waiting for JoomFish for J! 1.7, I have tried Falang. Thanks for a great extension with even greater potential!

Question: Do you plan cooperation with other 3rd party extension developers for Falang-support for important extensions? If so, can you provide some kind of status with regard to this?


Top
 Profile  
 
PostPosted: Mon Jan 09, 2012 12:01 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 12, 2009 11:34 am
Posts: 65
I,

There are already some extension supported k2,aicontactsafe ...
I need to make a specific page on my site to download them.

I will make this week probably a specific forum on my site www.faboba.com to speak only on this extensions.
I don't want to "polluate" this forum.

Stéphane


Top
 Profile  
 
PostPosted: Mon Jan 09, 2012 1:13 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Mon Sep 12, 2005 5:23 am
Posts: 297
Location: Stockholm, Sweden
Thanks for your reply. Sounds great! Joomla desperately needs the multilingual support that Falang provides in order to be a trustworthy CMS choice. But any solution like Falang must support popular extensions (both components and modules) to be the complete solution that's required.

Please tell me if there is anything I can do to help to support you in creating such a complete solution. I am no coder, but perhaps there are other things...

Thanks!


Top
 Profile  
 
PostPosted: Mon Jan 09, 2012 5:19 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Apr 19, 2008 12:10 pm
Posts: 8
joworks wrote:
biirc wrote:
Yes it's solve this problem (and other problems too)

i change the number because i don't want to follow joomla number , they change too often :)

Stéphane

Thank you Stéphane for new version!
Now we can go directly from a content to its translation. :)
But now I have new problem:
I have a category (news) and a menu-item (news-mnu) which is the type :
Articles » Category List
I have translated the menu, aricles and category to both languages by Falang component.
problem: in default lang. I click on news-mnu and it shows my category as a list, right. then I choose 2nd lang. and this message is appeared:
There are no articles in this category. If subcategories display on this page, they may contain articles.

instead of showing the list in other language!

----------------
j1.7.3 on localhost
falang1.0.0
lang1: en-uk (default)
lang2:en-us

_---------
Please help me: what must I do to solve this problem?


Top
 Profile  
 
PostPosted: Mon Jan 09, 2012 9:05 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 12, 2009 11:34 am
Posts: 65
Do you have sef enabled ? can you make a test without sef ?
You can contact me directly with the contact form on my site.

Stéphane


Top
 Profile  
 
PostPosted: Tue Jan 10, 2012 9:30 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Apr 19, 2008 12:10 pm
Posts: 8
biirc wrote:
Do you have sef enabled ? can you make a test without sef ?
You can contact me directly with the contact form on my site.

Stéphane

Thank you.
I checked it. Everything about sef in my joomla is off. I have installed a new joomla 1.7 with only Falang component with two lang. .
I will put it for you on a host in next days and then will message you.
Thanks


Top
 Profile  
 
PostPosted: Sat Jan 14, 2012 6:59 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Sep 28, 2008 2:07 am
Posts: 1
Hi there,

Love this simple to use extension.

Is there anyway that I can switch logo via CSS when langauge switching ?


Good job


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 8:13 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Apr 24, 2009 10:42 am
Posts: 4
Hello,

to translate a logo you could create a custom module with your logo in it (the logo in language 1), then create another custom module with logo in language 2.
When translating you have to choose the one related to the language.
In some templates it is necessary to create a module-position "logo".

I did it this way with Joomfish and that worked.


Top
 Profile  
 
PostPosted: Wed Jan 25, 2012 5:48 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jan 25, 2012 5:42 pm
Posts: 2
Hi, i have installed Falang free on my J2.5 final site, it works great just like Joomfish on 1.5 version, i have added xml file to translate two tablets with rokgallery info (rokgallery_files and rokgallery_slices) no problem with fields, types... i can see translation on falang admin side with all my database info, i can translate to diferent languages but on the frontend when i change language it doesnt work, what i am doing wrong?

my site is (it´s on development) http://www.josesebastian.com

This image info is translated to english:

http://www.josesebastian.com/index.php/ ... ndo-al-mar

Thanks

Miyagin


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Wed Jan 25, 2012 6:01 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Mar 12, 2009 11:34 am
Posts: 65
Falang is not compatible 2.5 actually.
I'm on this.

Stéphane


Top
 Profile  
 
PostPosted: Wed Jan 25, 2012 6:11 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jan 25, 2012 5:42 pm
Posts: 2
Hum it workz for me...


Top
 Profile  
 
PostPosted: Thu Jan 26, 2012 3:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 27, 2009 10:37 am
Posts: 7
Finally translator for J1.7 :)

but I have one problem...i'm using the IceMegaMenu and my menu items have a subtitle...how do I translate them too ???


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 107 posts ]  Go to page Previous  1, 2, 3, 4  Next



Who is online

Users browsing this forum: No registered users and 7 guests


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

Jump to:  
Powered by phpBB® Forum Software © phpBB Group