Find Jobs
Hire Freelancers

Autodetectar idioma som sites já com páginas traduzidas

£10-20 GBP

Ukończony
Opublikowano około 10 lat temu

£10-20 GBP

Płatne przy odbiorze
Ola Pessoal, Eu tenho um site que já tem alguns idiomas, o [login to view URL] , mas ele não detectar automaticamente o idioma automaticamente e queria saber se alguém sabe como fazer isso, alguém pode me ajudar? Vou passar algumas páginas de código: **INCLUDE/CONFIG:** `<? $config = array(); // Begin Configuration $config['basedir'] = '---'; $config['baseurl'] = '---'; $default_language = "english"; //Valid options are english, french, spanish, portuguese, japanese, chinese_simplified or chinese_traditional // End Configuration session_start(); date_default_timezone_set('America/New_York'); $config['adminurl'] = $config['baseurl'].'/administrator'; $config['cssurl'] = $config['baseurl'].'/css'; $config['imagedir'] = $config['basedir'].'/img'; $config['imageurl'] = $config['baseurl'].'/img'; $config['pdir'] = $config['basedir'].'/pics'; $config['purl'] = $config['baseurl'].'/pics'; $config['mdir'] = $config['basedir'].'/mpics'; $config['murl'] = $config['baseurl'].'/mpics'; echo file_get_contents($config['baseurl']."/[login to view URL]"); require_once($config['basedir'].'/smarty/libs/[login to view URL]'); function strip_mq_gpc($arg) { $arg = str_replace('"',"'",$arg); $arg = stripslashes($arg); return $arg; } $conn = &ADONewConnection($DBTYPE); $conn->PConnect($DBHOST, $DBUSER, $DBPASSWORD, $DBNAME); @mysql_query("SET NAMES 'UTF8'"); $sql = "SELECT * from config"; $rsc = $conn->Execute($sql); if($rsc){while(!$rsc->EOF) { $field = $rsc->fields['setting']; $config[$field] = $rsc->fields['value']; STemplate::assign($field, strip_mq_gpc($config[$field])); @$rsc->MoveNext(); }} if ($_REQUEST['language'] != "") { if ($_REQUEST['language'] == "english") { $_SESSION['language'] = "english"; } elseif ($_REQUEST['language'] == "french") { $_SESSION['language'] = "french"; } elseif ($_REQUEST['language'] == "spanish") { $_SESSION['language'] = "spanish"; } elseif ($_REQUEST['language'] == "portuguese") { $_SESSION['language'] = "portuguese"; } elseif ($_REQUEST['language'] == "japanese") { $_SESSION['language'] = "japanese"; } elseif ($_REQUEST['language'] == "chinese_simplified") { $_SESSION['language'] = "chinese_simplified"; } elseif ($_REQUEST['language'] == "chinese_traditional") { $_SESSION['language'] = "chinese_traditional"; } } if ($_SESSION['language'] == "") { $_SESSION['language'] = $default_language; } if ($_SESSION['language'] == "english") { include("lang/[login to view URL]"); } elseif ($_SESSION['language'] == "french") { include("lang/[login to view URL]"); } elseif ($_SESSION['language'] == "spanish") { include("lang/[login to view URL]"); } elseif ($_SESSION['language'] == "portuguese") { include("lang/[login to view URL]"); } elseif ($_SESSION['language'] == "japanese") { include("lang/[login to view URL]"); } elseif ($_SESSION['language'] == "chinese_simplified") { include("lang/[login to view URL]"); } elseif ($_SESSION['language'] == "chinese_traditional") { include("lang/[login to view URL]"); } else { include("lang/".$default_language.".php"); } for ($i=0; $i<count($lang); $i++) { STemplate::assign('lang'.$i, $lang[$i]); } if($config['re_mobile'] == "1" && $config['m_url'] != "") ... ------------------------------------------------------------------- **e tem as paginas de idiomas no include/lang, veja um exemplo da English:** <? $lang = array(); $lang['0'] = "Login"; $lang['1'] = "Home"; ------------------------------------------------------------------ Tem também Portuguese, Spanish, Japanese
Identyfikator projektu: 5562592

Informację o projekcie

2 ofert
Zdalny projekt
Aktywny 10 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
Ainda não foi fornecida uma proposta
£33 GBP w 1 dzień
4,9 (5 opinii)
4,1
4,1
2 freelancerzy składają oferty o średniej wysokości £26 GBP dla tej pracy
Awatar Użytkownika
Dear Sir, we are pleased to inform you that we have studied all the requirements and can deliver the same to u .we already have similar work experience and have worked on similar projects in the past and can deliver u as u have specified in your requirements we have similar work experience and can handle this quite well We are one of the leading service providers in the field of Website Designing, Application Software Development, System Software Development, E-commerce Development, CRM, MLM, Corporate Presentations and Customize Web Solutions. As a trusted web development and internet marketing company, we offer our clients strategic web solutions geared for taking the competition head on. Our aim is to provide current and up to date information technology solutions; solutions, which enhance the work environment and make work simpler and more efficient. Also the solution must provide for the considerable saving of times and human resources, which can be utilized for other purpose. In effect, a good software solution can improve the productivity of the company. plz let us know your skype or e-mail so that we can discuss further Regards
£22 GBP w 1 dzień
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
A proposal has not yet been provided
£18 GBP w 1 dzień
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga BRAZIL
Santos, Brazil
5,0
1
Zweryfikowana metoda płatności
Członek od mar 16, 2014

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.