Translating to another language

Application Photo Album Helper is designed to be operated in different languages. Language support is achieved by the use of resource bundles. Resource bundles are files with language specific texts accompanying the application. When no resource bundle is found that fits the locale of the underlying system, the application starts in english language by default.

How to add a new language

Currently resource bundles are available in

They are stored in directory source/com/lightdev/app/albumhelper as files named AlbumHelper.properties or AlbumHelper_de.properties.

If you are interested in translating Photo Album Helper to another language please

  1. open one of the above mentioned files

  2. translate the language specific texts as described later on in this chapter

  3. store the translated file under a new name

  4. send an e-mail to info@lightdev.com with the translated resource bundle file attached

You will receive an updated version of Photo Album Helper including the newly added language in return. Your help is most appreciated, thank you!

How to translate a resource bundle text file

A resource bundle is a text file having all texts in the language they are to be shown. Adapting to a different language requires to translate one of the existing resource bundles to the target language. To translate an existing resource bundle text file it is opened in an arbitrary text editor. The english language content for instance looks similar to

# DialogShell

# -----------

okBtnName=OK

cancelBtnName=Cancel

helpBtnLabel=Help

# BundlePanel

# -----------

bundleListTitle=Backup sets in this bundle

bundleAddButtonTitle=add

bundleEditButtonTitle=edit

bundleRemoveButtonTitle=remove

bundleOpenButtonTitle=open

All text to the right of an equal sign simply is overwritten with the translated text so the german language equivalent would be

# DialogShell

# -----------

okBtnNameLabel=OK

cancelBtnName=Abbrechen

helpBtnLabel=Hilfe

# BundlePanel

# -----------

bundleListTitle=Backup Sets in diesem Bundle

bundleAddButtonTitle=hinzufügen

bundleEditButtonTitle=bearbeiten

bundleRemoveButtonTitle=entfernen

bundleOpenButtonTitle=öffnen

See also

Inside Photo Album Helper