Jump to content

Recommended Posts

Posted

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

  • Moderators
Posted

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...

  • Like 1
  • Moderators
Posted

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.

  • Members
Posted

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']);
}
?>

  • 2 weeks later...
  • Members
Posted

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 :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...