[opencms-dev] How to edit resource bundles

Alexander Curvers acurvers at gmail.com
Fri Feb 28 18:08:35 CET 2020


Hi Daniel


[image: image.png]

  thanks for your tips, I imported resource bundle, with correct naming,
and changed the type from text to resource bundle,
when i open it as text it shows me all keys and translations, when i open
it to edit, it shows me empty , no keys no translations
[image: image.png]
any suggestions?

en is in the opencms-system.xml (by default)

Regards

Alexander


On Thu, 27 Feb 2020 at 08:31, Daniel Seidel <d.seidel at alkacon.com> wrote:

> Hi Alexander,
>
> please have a look at
> https://documentation.opencms.org/opencms-documentation/localization/message-bundles/
> and the related topic on the "Message bundle editor".
>
> Basically, you give the files the correct type "Property resource bundle"
> and change the name of the file: the locale-less bundle in particular
> should be named according to the name scheme: "full.bundle.name_locale" and
> typically reside in the "i18n" subfolder of the module they are imported
> with, but if you use OpenCms only as editor, you might place the bundles
> somewhere else and also name them somehow else (only the locale-postfixes
> are important). Moreover, ensure that you configured all the locales in the
> opencms-system.xml.
>
> Best, Daniel.
> Am 26.02.20 um 22:19 schrieb Alexander Curvers:
>
> Hi,
>
> I have an existing resource bundles
> messages.properties
>   messages_es.properties
>     messages_nl.properties
> containing multiple language translations. I am new to opencms, how could
> i make a start for now to use opencms as a web editor just to edit these
> bundles. I cant find any resource bundle editing options in the gui, but i
> know they exist.
>
> thank you for your help
>
> Kind regards
>
> Alexander
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visithttp://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>  --
> Kind Regards,
> Daniel.
>
> -------------------
>
> Daniel Seidel
>
> Alkacon Software GmbH & Co. KG - The OpenCms Experts                    http://www.alkacon.com - http://www.opencms.org
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200228/dc1a178b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 15543 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200228/dc1a178b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 29971 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200228/dc1a178b/attachment-0001.png>


More information about the opencms-dev mailing list