OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

VehicleManager component support

Go to bottom Favoured: 1

Error in constant.php

antoniojosetorres (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Error in constant.php 3 Years ago
Karma: 0  
The file constant.php has serious value assignments since instead of being assigned the value "Vehicle Manager" to sys_type, it is being given values from the English translation. Nonsense.

Also, there is no way for me to load a file with the correct translations like Spanish.php from Language Manager on the backend. Although it is corrected, the translations are not modified. Do I have to change them one by one from Language Manager? Do I have to modify each record in the #__vehiclemanager_const_languages table from fk_languagesid = 22?

I would like a possible and quick solution.

Translated into English from Spanish by Google Translator
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Error in constant.php 3 Years ago
Karma: 101  
Hello

I not understand your question, if you use Free Version of ordasoft car dealer software you may upload new languages and Spanish language to your website.
More about How add new Languages to car dealer software please check here

Please check: you no need Translate constant.php, you need change(if you need) only lahnguages.php files. Or you may change your constants with help "VehicleManager::LanguageManager"

Regasds
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
antoniojosetorres (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Error in constant.php 3 Years ago
Karma: 0  
OK, I don't have to change the constant.php file.

But, why if I change the spanish.php file and from the Language Manager I click on the Load language button, none of my modifications are changed? It is very tedious to change the constants from the backend being able to change them with an editor and load them later.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Error in constant.php 3 Years ago
Karma: 101  
All next change constants you need do with help "VehicleManager::Language manager"

Please check
You may download ypur languages constants from language file (as example for spanish.php ) 1 time, all next press "Load language" - we check - this contant exist or not and if exist - we not change it.

All next change constants you need do with help "VehicleManager::Language manager", without new language add.

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
antoniojosetorres (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Error in constant.php 3 Years ago
Karma: 0  
It is not what I expected because I thought that I could modify the badly translated constants simply by loading the spanish.php file again but if the constant already exists it is NOT modified, so it does not solve the problem for me.

I will correct them from the language manager.

Anyway, thanks, admin.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:Error in constant.php 3 Years ago
Karma: 101  
Sorry, this added special for give possibility people who not know what is it FTP - change any text in Vehicle manager.

And with this if you already changed something with language manager - You not lost this at time Version update or at time new language add

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»