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 8078119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:41:24+00:00 2026-06-05T15:41:24+00:00

Before asking my question, let me explain the context. CONTEXT: I have a web

  • 0

Before asking my question, let me explain the context.

CONTEXT:
I have a web app created in both Flex and Java using LiveCycle Data Services.
The application runs on a Tomcat server.
Let’s assume that the context root of the app is /myApp. When loading server:port/myApp, Tomcat loads myApp.html, which is a wrapper for the application.

REQUIREMENTS:
In order to load the application in different languages, I need the swf to read some flashvars to set the loading language and other sutff.
The loading language should be set depending on the url.

WHAT I’D LIKE TO DO BUT DO NOT KNOW HOW TO:
I think that I should have different html wrappers for the swf, so that each html wrapper passes different flashvars to the swf. But not having to deploy a war for each language.
The deployed war should then contain myAppFR.html, myAppEN.html, myAppJP.html… Each wrapper pointing to the same swf but passing different flashvars.
I’d like server:port/myAPP/FR to load myAppFR.html, server:port/myApp/EN should load myAppEN.html, and so on.

I don’t know if I’m being clear enough.
It’s not too clear in my head cause I do not really know how to do it, or if it’s even possible!

So please, do not hesitate to ask for more details if needed and feel free to give any clue you have 🙂

Thanks a lot.

(PS: I’m not a Java pro, so if it would be possible, the more detailed the better)

  • 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-06-05T15:41:26+00:00Added an answer on June 5, 2026 at 3:41 pm

    I finally did it using JS:

    function getBrowserLangSetting() {
            if(navigator.language)
                return navigator.language
    
            if(navigator.userLanguage)
                return navigator.userLanguage
    }
    

    This is enough for me to set the default language.

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

Sidebar

Related Questions

I'll explain a little before asking my question ... I've created numerous games which
Let me explain my scenario before asking the question. I am in creation phase
Before asking the question let me preface with the fact that I am new
Ok, I have done plenty of research on this topic before asking the question,
First I'm going to explain what I'm trying to do, before asking the question
Let me pose a bit of background information before asking my question: I recently
Before asking this question I have googled for some time, but could not find
I've been searching the web (and S.O.) for a while before asking this question.
Let me share my findings before asking the question. Google Places API documentation says:
Before asking my question I would like to explain little about my architecture.My data

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.