Gofast77 Posted June 11, 2014 Report Posted June 11, 2014 Hi all, Can you help me, I would like two languages on a same phpVMS website without "Google Translate". I would like a very good alternative not a simple link or drop down to Google Translate. Waiting for your answers. Gofast Quote
Moderators servetas Posted June 11, 2014 Moderators Report Posted June 11, 2014 Can you translate all the website to the language you want on your own? Quote
Gofast77 Posted June 11, 2014 Author Report Posted June 11, 2014 Yes I can, but I would like to have the site in two languages Quote
Moderators servetas Posted June 11, 2014 Moderators Report Posted June 11, 2014 You can create a new folder of your phpvms website with the same files and just translate the one of them. After that, you can connect these two website with the same database and voilà . JAL Virtual has done something like this. They have two different phpvms website (the first phpvms on the en folder and the second one on the ja folder). These two website have been connected with the same database and they have just changed the files... 1 Quote
Gofast77 Posted June 11, 2014 Author Report Posted June 11, 2014 Ok, thanks, I going to try this. What is the folder ? templates ? Quote
Gofast77 Posted June 11, 2014 Author Report Posted June 11, 2014 Another question for the modules as the module "Rules and Regulations" PHP Mods, how do since it is based on a SQL query ? Quote
Moderators servetas Posted June 11, 2014 Moderators Report Posted June 11, 2014 Unfortunately, the sql data can't be translated. As for the rules and regulations module, you can install a second one using different names and database tables in order to use anothr language. If you want i can do this for you. Please pm me. Quote
Members Vangelis Posted June 11, 2014 Members Report Posted June 11, 2014 What i have done for Greek Scouts Airways diferent template per language for example TemplateGR and TemplateEn and i am calling the template that i want in the link for example http://www.gsairways.gr/phpvms/index.php/acars/?template=OperationsEN OperationsEn is the template name and this is done by adding the following lines in the local.config.php in core folder <?php session_start(); if(isset($_GET['template']) && $_GET['template'] != ''){ $_SESSION['template'] = $_GET['template']; define('CURRENT_SKIN',$_GET['template']); } if(isset($_SESSION['template']) && $_SESSION['template'] != '') { define('CURRENT_SKIN',$_SESSION['template']); } ?> Quote
Gofast77 Posted June 11, 2014 Author Report Posted June 11, 2014 Hi, thanks for answers but the topic is resolved thanks Quote
Moderators servetas Posted June 25, 2014 Moderators Report Posted June 25, 2014 What can't you understand from the answer i gave (in public) above? Quote
Members Vangelis Posted June 25, 2014 Members Report Posted June 25, 2014 ATM there are 2 solutions one what i sugested above and one what servetas sugested you can see what suits you and implement it in your website if you have any question here we are Quote
Ariel Posted June 25, 2014 Report Posted June 25, 2014 What can't you understand from the answer i gave (in public) above? Disregard my post! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.