Keep message identifiers in view
Review translated values beside their source keys. In the checkout example, all 8 identifiers and their order match the original.
Upload a .properties message bundle to translate the text your users see. ForgeFile aims to preserve its structure while changing the language. Compare the checkout example, then review the result in your application.
Translation example
The checkout strings of a Java ResourceBundle, written for this page: {0} placeholders, quotes and comments. Keys and comments stay; the values are translated.
8 of 8 strings that contain words differ from the source.
Comments are notes for translators and stay as written.
2026-10-08 verified — Amanda Lee
Review translated values beside their source keys. In the checkout example, all 8 identifiers and their order match the original.
Download both sample files to inspect translated labels, error messages, comments and numbered placeholders together.
Use this page for a message bundle such as messages.properties: the keys identify strings in your application, and the values contain the wording to translate. The aim is to retain the source file’s structure while translating its user-facing text. Keep operational settings such as database URLs, ports and feature flags out of the translation file.
The downloadable English-to-Spanish checkout example keeps all 8 keys in their original order and translates all 8 values. Both comment lines, the double quotes around the stock-item placeholder and all 5 occurrences of {0} and {1} remain. The previews show the complete files, so you can compare the messages with their keys.
Check how your application reads the bundle before choosing how to save the translated file. Oracle’s Properties documentation specifies ISO-8859-1 for load(InputStream); load(Reader) receives characters decoded by the reader. Characters outside ISO-8859-1 can be written with Unicode escapes.
For property resource bundles, the PropertyResourceBundle documentation describes its default UTF-8 reading and ISO-8859-1 fallback on decoding errors. That does not make every Java .properties loader UTF-8. Load the translated file through the same path your application uses and check accented characters in the displayed messages.
Compare each translated value with its source, then format messages with realistic argument values. A placeholder’s index links it to an argument; the translated sentence may need a different word order. Oracle’s MessageFormat documentation also defines special rules for apostrophes and braces. Check those rules when your application uses MessageFormat.
The checkout example covers simple numbered placeholders and literal double quotes. It does not test Unicode escapes, continued lines, typed date or number patterns, or MessageFormat apostrophe quoting. If your bundle uses them, include those messages in your application review. Read the finished labels and errors in the interface as well: a correct key does not tell you whether the wording fits a button.
Choose the message bundle
Select the .properties file containing the user-facing messages you want to translate. Keep a copy of the source for comparison.
Choose the bundle translation language
Choose the target language for your message bundle. Translation is available in 100+ languages.
Translate and download the bundle
Start the translation, then download the result to review alongside your original file.
Load and read the translated messages
Compare keys and placeholders, then load the file in your application. Check encoding, formatted arguments and the wording in the interface.
Use a bundle containing user-facing messages. An application.properties file may contain connection details, paths and other operational settings that should not be translated. Separate the messages you want to localize before uploading.
If your application reads messages from a .properties bundle, review the translated file through that same message-loading setup. Check its expected encoding and bundle naming. This page does not establish compatibility with a particular Spring configuration.
Check whether the application passes that value to MessageFormat. In MessageFormat patterns, apostrophes control quoting and a literal apostrophe is written twice. An ordinary properties value does not acquire those rules just because it is in a .properties file.
The example contains neither Unicode escapes nor continued lines. It demonstrates 8 translated values with unchanged keys, comments, double quotes and 5 simple placeholder occurrences. Test any additional syntax in your own bundle before release.
Upload your .properties messages, then review the translated values alongside the source before adding them to your application.