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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:09:28+00:00 2026-06-12T11:09:28+00:00

I use struts2 property files to provide support for multiple languages and that works

  • 0

I use struts2 property files to provide support for multiple languages and that works fine.

It is always very easy to forget some text hardcoded in some JSP or error not properly translated.

Is there an easy way to visualize this by replacing all the translated items by “ZZZ” for example, therefore we would only see the places where no translation is provided?

One idea would be to somehow dynamically (at runtime) replace all the text items in the properties file by “ZZZ” – is there an easy way to do that? I mean to override all translated items (without touching at the file itself, just in-memory)?

  • 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-12T11:09:30+00:00Added an answer on June 12, 2026 at 11:09 am

    We simply create a property file with the value set to something like ?es_firstNameLabel, etc. and set the locale to use that property file. Then you look through your app for enlgish (or whatever your native language is). It’s ugly, but that’s good — it’s supposed to be ugly so that you stuff shows through more readily.

    Unfortunately there’s no real easy way to automate the checking part, you just need to regression your pages one by one.

    When it’s all said and done, you can go back and start replace the ?es_propertyLabel stuff with the appropriate values, so it works well as you start to create the new language entries.

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

Sidebar

Related Questions

I'm trying to use struts2-jquery grid plugin. When debugging my gridmodel is getting updated
I am using struts2 to build a web application and I use struts2 tags
I make extensive use of Struts2 in my application. Now I want to add
I use tomcat. I am developing a web application using struts2, and I use
This concerns the state of Struts2 framework tooling, although currently I use no IDE
Hi i am using struts2 and hibernate in my project. I need to use
I have following situation: I use Struts2 as MVC cobtroller I use Spring as
I use struts2 and want to use Math.max method in struts tag . Like
I’m using Struts 2.2.3 with Tiles 2.1.4. It works absolutely fine, but now I’m
i use struts 1.3 and want to make localization. that's what I'm doing: in

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.