I need to provide on the page support for two languages (English, Russian).
As I understand it, I need to create translate.properties, translate_en.properties, translate_ru.properties in the Resource Bundle.
Next, I write files = files and files = files to them.
Now. How do I use this to provide two languages? I need to create a language change button on the site, as I understand it, and take the key value from it (which language to display), and how to link it all together with the markup.
<p:layou> <p:layoutUnit> <h3>files</h3> </p:layoutUnit> </p:layout> Something else needs to be registered in the class, I suspect. Help me understand the whole chain of actions, please.