Multilingual apps with jQuery Mobile

Is there a standardized way to create jQuery Mobile Apps (using Phonegap) in multiple languages?

+5
source share
5 answers

In case anyone has the same question ... I found that the microsoft solution from "lakhlaniprashant.blogspot.com" is not very useful. But thanks anyway; -)

I wrote my own localization function with javascript and json.

0
source

- , . , , jQuery mobile .

+4

HTML- jquery mobile, โ†’ < github

, .

0

webapp jquerymobile php, 1 php lang, .

:

if the user configured his language as English, I included English .php in my header, if the user uses Spanish i, include spanish.php:

english.php:

<?php
$sentence="this is a sentence";
?>

spanish.php

<?php
$sentence="esto es una frase";
?>

if you are "echo $ sentence", it will take the one from the file that you included. I store the selected language in a cookie and include the corresponding language file.

-1
source

All Articles