Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7498305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:25:42+00:00 2026-05-29T19:25:42+00:00

is any i18n localization plugin for Jquery Mobile? I searched a lot of time,

  • 0

is any i18n localization plugin for Jquery Mobile? I searched a lot of time, but i18n translations plugins for Jquery not working correctly on JQM. For example in a href..many thanks.

Nobody knows?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:25:43+00:00Added an answer on May 29, 2026 at 7:25 pm

    I have had the same problem, and I resolved the problem simply by using the Jquery Extend function.

    Say you define your language resources as follows:

    1) Create a resource file with the default localization, presumably defined in English. Let’s call it resources.default.js

    var MyApp = MyApp || {};
    
    MyApp.resources = {
        One: "One",
        Two: "Two",
        Three:"Three"    
    }
    

    2) Define your localized resources in independent files, let’s say Spanish. Call it resources.es.js

    var localizedResources = {
        One: "Uno",
        Two: "Dos",
        Three:"Tres"    
    }
    

    3) On your server logic, decide that you need to include only the default translations in case of English, or if you need any other language do an include.

    <script src="resources.es.js"> </script> 
    

    4) Create your web page, and add scripts to handle your inclusion of the resources, per step 3.

    <html>
    <head>
    </head>
    <body>
    
    ​<h1>Welcome to my App</h1>
    <p>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​Welcome to this test app</p>
    
    <button>Click me</button>​
    
    
    
    <script src="resources.default.js"> </script> 
    
    
    // The server decided we needed Spanish translations.
    <script src="resources.es.js"> </script> 
    
    
    <script type="text/javascript">
        //Extend the translations into the resources object.
    
        $.extend(MyApp.resources, localizedResources);
    
        $(window).ready(function(){
            $('button').click(function(){
                alert(MyApp.resources.One);    
            });    
        });
    
    </script>  
    </body>
    

    This should work for you.
    ​
    EDIT:
    See it in action here: http://jsfiddle.net/agarcian/rrDv3/1/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get a Could not find i18n-0.5.0 in any of the sources error when
Is there any gem out that can edit I18n translations from the browser? I
Are there in the world any I18n alternatives? I just do not like the
I have set up i18n in Spring MVC 3, and it is working correctly.
I am looking at using http://code.google.com/p/jquery-i18n-properties/ to provide localization features to terms in my
Could not find i18n-0.6.0 in any of the sources (Bundler::GemNotFound) I am getting this
Is there any possibility to extract globalize2 translation for specified locale without setting I18n.locale
Any way to realize emacs keybind on Qt Creator (QTC)? Some possibilities: emacskeys but
I've searched several threads and bug reports, but couldn't find a solution. I changed
I'm working in a project with django and GAE, but I need internationalization for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.