Working!! - CB 1.2RC + JoomFish 2.0(beta)

13 years 3 months ago #66186 by 4creator
Replied by 4creator on topic Re:Working!! - CB 1.2RC + JoomFish 2.0(beta)
beat,

I'm not a PHP programmer and I am not good at English, so I unfortunately couldn't understand a part of your post... sorry :blush:

Thank you for your support, beat. :woohoo:

Please Log in to join the conversation.

13 years 3 months ago #66221 by fresco
Beat, this is the response given by Geraint, one of the Joomfish developers
I suspect the problem could be elsewhere...

Re: Possible bug with 1.5.3 language strings

Postby Geraint on Fri Jun 20, 2008 3:24 pm
1. The following code is Joomla core and not Joomfish

Code: Select all
$lang =& JFactory::getLanguage();
$x = $lang->getBackwardLang();



2. On my server it returns "english" and not "en-GB" which is what you want I believe.

3. The backwards compatible language value is directly loaded by Joomla code (not Joomfish) from the language xml metadata file - for en-GB.xml this string is "english". Joomfish does not go anywhere near this value in native or legacy mode

4. The Joomla class JLanguage never returns the meta data by reference and has no methods to write it apart from reading it from the xml files.

5. A grep of all Joomfish source files will not find a single reference to the JLanguage meta data field.

In summary Joomfish is not your problem. If your installation is returning "en-GB" instead of "english" then I suspect some other component/plugin is making this change.

Geraint

Please Log in to join the conversation.

13 years 3 months ago #66222 by beat
Interesting...

Thanks for the feedback.

Looks like we will need to try to reproduce on our test servers...there is something fishy in here :laugh:

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

13 years 3 months ago #66640 by beat
We could have it working on joomla 1.5.3 + joomfish 2.0 beta fine.

So I guess this thread is solved for everybody ?

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

13 years 2 months ago #69061 by spacereactor
Replied by spacereactor on topic Re:Working!! - CB 1.2RC + JoomFish 2.0(beta)
2. Copy & Rename
Before: com_comprofiler/plugin/language/default_language/default_language.php
After: com_comprofiler/plugin/language/en-CB/en-CB.php

Before: com_comprofiler/plugin/language/japanese/japanese.php
After: com_comprofiler/plugin/language/ja-JP/ja-JP.php

3. Plug-ins languages
Copy your language texts of plug-in and paste to com_comprofiler/plugin/language/en-CB/en-CB.php and/or com_comprofiler/plugin/language/ja-JP/ja-JP.php

Upload files and check and see if it works. If you use mod_jflanguageselection, it will work for CB too!

I try that on Joomla 1.5.4, CB1.2 RC2 with Joomfish 2 beta 2 and i got this error when i want to edit user profile.
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 393216 bytes) in C:\Documents and Settings\Desmond Chua\Desktop\xampplite\htdocs\demo6\components\com_comprofiler\plugin\language\default_language\default_language.php on line 422
Any Help?

Post edited by: spacereactor, at: 2008/07/23 08:51

Please Log in to join the conversation.

13 years 2 months ago #69137 by beat
Still wondering why you need to do this:


Before: com_comprofiler/plugin/language/japanese/japanese.php
After: com_comprofiler/plugin/language/ja-JP/ja-JP.php


Doesn't make sense to me.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.184 seconds

Facebook Twitter LinkedIn