Skip to content

Multilingual support #1295

Answered by speckyspooky
cwhauser asked this question in Q&A
May 26, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The first step is you need a standard property file by default you need for 2 languages 3 files:
file 01 - default language: .properties
file 02 - language DE: _de.properties
file 03 - language EN: _en.properties

The postfix "_de.properties" is a standard Java mechanism so you would be able to use the long version of "_de_DE.properties"
because German, English and other languages could have subcategories of languages.
Be aware the postfix use the ISO-language code and not the ISO-country codes 2 examples:

  • czech republic: ISO-language code "cs" but country-code "cz"
  • Sweden: ISO-language code "sv" but country-code "se"

Conten, structure like =, e.g.
label1=Ich bin eine Beschriftung
exampl…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cwhauser
Comment options

Answer selected by speckyspooky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1293 on May 27, 2023 06:23.