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

  • Home
  • SEARCH
  • 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 8053817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:58:10+00:00 2026-06-05T07:58:10+00:00

java.util.MissingResourceException: Can’t find bundle for base name xxx.i18n.base, locale en_US I am currently implementing

  • 0
java.util.MissingResourceException: Can't find bundle for base name xxx.i18n.base, locale en_US

I am currently implementing i18n, using Facelets.
I have three .properties files:

  • xxx.i18n.base.properties
  • xxx.i18n.base_en_US.properties
  • xxx.i18n.base_nl_NL.properties

faces-config.xml

<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="2.0"
    xmlns="http://java.sun.com/xml/ns/javaee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">

    <application>
        <locale-config>
            <default-locale>nl_NL</default-locale>
            <supported-locale>en_US</supported-locale>
        </locale-config>
        <resource-bundle>
            <base-name>xxx.i18n.base</base-name>
            <var>base</var>
        </resource-bundle>
    </application>
</faces-config>

As the error stated, I have trouble locating the en_US file, but when I set my locale for nl_NL, it can not be found either. Finally, putting the locale to something like de_DE will give me this result for de_DE, even though this locale is not defined as supported.

I’m using the following syntax to retreive values from the .properties files

#{base['msg']}

Does anyone have any idea as to why my application can not seem to find these locale files?

  • 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-05T07:58:11+00:00Added an answer on June 5, 2026 at 7:58 am

    Seems that I had located my properties files in the wrong folder:
    java/xxx/i18n instead of resources/xxx/i18n

    After replacing the properties files my problem was solved.
    Everyone thanks for your help though!

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

Sidebar

Related Questions

i've got exception, while running java class from Eclipse: java.util.MissingResourceException: Can't find bundle for
Can I use java.util.Properties with encoding different then default?
I'm testing Java's i18n features and have a problem, I can't load the language
Java File for(..){ java.util.List opslist = new ArrayList(); opr.setOperationName(operation.getName()); //gets operation name (iterate and
java.util.Locale is one of those classes where I wonder whether I'm too stupid or
import java.util.ArrayList; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Path; import android.os.Bundle;
Using java.util.regex.Pattern.compile() you can specify a pattern as parameter. But how can you specify
import java.util.List; import android.app.Activity; import android.os.Bundle; import android.widget.LinearLayout; import android.view.ViewGroup; import android.widget.*; import com.google.android.maps.MapView;
import java.util.*; public class HashingTest { // instance variables String name; int age; int
java.util.PriorityQueue allows a Comparator to be passed at construction time. When inserting elements, they

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.