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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:35:05+00:00 2026-06-11T16:35:05+00:00

In my case, the question is concretely on JSF, but it can be applied

  • 0

In my case, the question is concretely on JSF, but it can be applied to any technology using web interfaces.

I am mantaining a web interface (xhtml, using JSF), which is all static text (harcoded).

Instead of using hard-coded text, the other option is using something like <h:outputText value=" #{msg['hello.world']} > and put hello.world in a properties file. This allows you to go i18n very easily.

Intuitively, this option is better, but in case you never ever plan to i18n, is it better than just coding? I did not find any clear answer to that question.

  • 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-11T16:35:06+00:00Added an answer on June 11, 2026 at 4:35 pm

    You can centralize messages, so in case you need to change a label you don’t need to search whole project and replace it every where, You could simply replace it in message bundle

    It also enables i18n

    You can have parametrized messages

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

Sidebar

Related Questions

In this question I asked how to do this but the special case of
Maybe the question is familiar but I need an explanation in this case. Let's
This is more a general question but my particular case involves a ruby/rails app
There is a VERY similar question to mine but in my case I don't
Real-life case (helps understand the question) I am building a device that can freely
Question 1> Should I check NULL in the following case? public interface INewClass {}
Overflow :3 I've got a kind of hard-case question. So I'll try clearly explain
EDIT: In case the question below looks a bit 'extensive', the summary is that
I have a simple unit test case (extensive question here ) on a configuration
Here is the case of my Netbeans debugging question: I got a for loop

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.