OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Greek Language Error (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Greek Language Error

pfratz (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Greek Language Error 10 Years, 9 Months ago
Karma: 0  
Please with help any editor check position with 'All Houses Layout'

Ok where should i look that? In which file? Please be more specific, more details.

Also i need some more information,

The language constants are stored in table rem_language_const.

I want to tell my with which functions you read from this table and also you insert data in. And in which files are these functions.

I would appreciate if you could answer more detailed and more faster.

Thank you
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Greek Language Error 10 Years, 9 Months ago
Karma: 102  
Hello,

when you add new language file, add that to database go - when you go to language manager, and there are show what language file now processing

for you - need check your file, and compare row with 'All Houses Layout' - with some other file (as example with english.php)

Look like you add some bad letter.
Or please show full error

rem_const_languages - tghat table where we save all translated constants from languages files

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
pfratz (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Greek Language Error 10 Years, 9 Months ago
Karma: 0  
No this is not the problem. This error occurs from scratch. I delete and the reinstalled th quickstart package and from joomla admin->components-> realestate manager-> lang manages i just browsed through english const variable and the problem occured again!

PAY ME SOME ATTENTION CAREFULLY.

1.i tranlated English.php to Greek.php and i copied to /components/com_realestatemanager/lang. My Greek.php has of course this line
Code:

$LangLocal = array('lang_code'=>'gr-GR', 'title'=>'Greek');
. All lines are correct
2.In Joomla REM lang manager i selected greek language
3.My defaul joomla lang is Greek. I have already installed the language pack for joomla
4.In rem_const_languages i can see about 900 lines English const variable and 720 greek variables. They grrek translations are ALREADY IN the table

Why the hell it doesn't change in the frontend. Tell me. Ihave done EVERYTHING ACCORDING to your instructions

Ihave joomla 3, free november templade, quiqkstart package.

If you don't have a solution, i may have one.

In the file administratorcomponentscom_realestatemanagerrealestatemanager.php , i believe this section of the code has a lot of errors. It may not read teh variables $result.

Code:

if (count($langs) > count($fileMas)) {
$results = array_diff($langs, $fileMas);
foreach($results as $result) {
    $database->setQuery("SELECT lang_code FROM #__rem_languages WHERE title = '$result'");
    $lang_code = $database->loadResult();
    $langfile = "<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );";
        $langfile .= "nn/**n*n* @package  RealestateManagern* @copyright 2012 Andrey Kvasnevskiy-OrdaSoft(akbet@mail.ru); Rob de Cleen(rob@decleen.com);n* Homepage: http://www.ordasoft.comn* @version: 3.0 Pron*n* */nn";
        $langfile .= "$LangLocal = array('lang_code'=>'$lang_code', 'title'=>'$result');nn";
        $langfile .= "$constLang = array();nn";

    $query = "SELECT c.const, cl.value_const ";
    $query .= "FROM #__rem_const_languages as cl ";
    $query .= "LEFT JOIN #__rem_languages AS l ON cl.fk_languagesid=l.id ";
    $query .= "LEFT JOIN #__rem_const AS c ON cl.fk_constid=c.id ";
    $query .= "WHERE l.title = '$result'";
    
    $database->setQuery($query);
    $constlanguages = $database->loadObjectList();

    foreach($constlanguages as $constlanguage) {
$langfile .= "$constLang[] = array('const'=>'".$constlanguage->const."', 'value_const'=>".$database->Quote($constlanguage->value_const) . ");n";
        }
             
    // Write out new initialization file
    $fd = fopen($mosConfig_absolute_path."/components/com_realestatemanager/lang/$result.php", "w") or die("Cannot create configuration file.");
    fwrite($fd, $langfile);
    fclose($fd);
}
    }



Check it. And others variables may have errors two. They are not visible. Are you sure this is correct
Code:

$database->setQuery("SELECT lang_code FROM #__rem_languages WHERE title = '$result'")


or this
Code:

$database->setQuery("SELECT lang_code FROM #__rem_languages WHERE title = '$result'") $database->setQuery("SELECT lang_code FROM #__rem_languages WHERE title = '".$result."'");


Sorry this is getting me go crazy. It doesnt' work whatever i do. if can't find a solution, do you hav a copy with two languages installed and send it to me?

Please check the code for errors or tell what else may be wrong.

Thank you
Logged Logged
The administrator has disabled public write access.
pfratz (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Greek Language Error 10 Years, 9 Months ago
Karma: 0  
Or maybe this is not the problem.

Help the variables are in teh database but i doen's read them! It's abslute madness. I will pay for a solution. I would everything. Write the best reviews.

Make it work. Or send me something that works.

Please i beg you
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Greek Language Error 10 Years, 9 Months ago
Karma: 102  
Hello,

Please send to us admin and ftp access to your site, and we will check where error.

Your account details you may send with help Contact form

Thanks,
ordaSoft team
Logged Logged
The administrator has disabled public write access.
pfratz (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Greek Language Error 10 Years, 9 Months ago
Karma: 0  
I am testing it in my localserver in my computer. It's not in the web yet.

So may i send you all my website files and my mysql website database that i will export it into an .sql file.

I could send you these diles with wetransfer. 30mb max. It would be piece of cake for you to setup and test.
Logged Logged
The administrator has disabled public write access.
Go to top
»