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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:30:41+00:00 2026-06-13T17:30:41+00:00

So, I have a program that I’d like to translate to Croatian… But I’ve

  • 0

So, I have a program that I’d like to translate to Croatian…

But I’ve learned that swing may sometimes create dialogs and windows I have not expected (e.g. when trying to rename a file into existing name in JfolderChooser).

So instead of trying to expect the unexpected, I have decided to translate whole swing into Croatian and submit my translation to Oracle (or whoever I should) (if that is posible, I’ve heard it’s encouraged). Then I can use Localization classes just to select my language and that’s it (one day, at least)…

However, I don’t really know how to do it, or which files of src folder to look into, so I need your help.

What (java) files do I look into, and what is standardized procedure of translating Swing into a new language?

Are there any other things I should do except dealing with language (like currency, etc.)?

And last of all, how do I submit it to Oracle?

  • 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-13T17:30:42+00:00Added an answer on June 13, 2026 at 5:30 pm

    You can do that, but it is very unlikely they will include your translations. That’s just because once you include the translations for given language, you need to support it. Even though these translations doesn’t change often, it is still rather serious effort and personally, I wouldn’t risk including something that might soon be out of date.
    There is a second side of this story: somebody has to review your translations. Believe it or not, it ain’t cheap. So unless Oracle decide to crowd-source their translations for JDK, I am afraid you’re out of luck.

    On the other hand, most of the User Interface (actually all except for hardcoded strings…) could be translated by assigning appropriate UIManager’s keys to translated values… This is quite an effort, but it can be done.
    The problem here is, you don’t know what keys are valid (or appropriate), so if you want to really translate the whole thing, you need to reverse engineer their controls (using the source code attached to JDK’s distribution).

    It is pretty surprising that we don’t have sub-classed controls with externalized messages easily available… It is a common problem… I did something like this for my studies, but I am afraid I don’t know where do localized JFileChooser is… I am pretty sorry about that.

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

Sidebar

Related Questions

I have program that requires Python 3, but I develop Django and it uses
I have a program that encrypts files, but adds the extension .safe to the
I have a program that is used to create other program and compile it
I have a program that is developed in MVC 3 Razor Syntax but whenever
I have a program that generates some standard SQL like SELECT * FROM TEST
have a program that fades out on mouse leave event. but the problem is
I have program that runs for long periods of time and I'd like to
I have program, that has structure defined like this: struct foo { int magic;
I have program output that looks like this (tab delim): $ ./mycode somefile 0000000000000000000000000000000000
I have a program that will trap Ctrl + c , but it can

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.