Multiline Java properties values?

Subscribe to Multiline Java properties values? 4 posts, 3 voices

 
Avatar demo 1 post

Hi. In our application we are using java properties files. Some values are multilined. Do you plan to extend this capabilities in 99translations? At the moment there are only 1-liners possible.

e.g.
mail.welcome=Hi,\nwelcome to xyz.\n\nBye

should be editable in a TextArea…!

Best regards,
Marcel

 
Avatar admin 13 posts

Marcel,

I like this idea. We definitely will do it, however there is a problem of using correct line breaking character to be solved, since there are few l character combinations you can use on different systems.

Please shoot me an email at support@99translations.com if this problem is critical for you and we can see how to make it happen for you sooner than next release.

Thank you for the suggestion.
— Simon

 
Avatar Sacha 2 posts

Hi 99translations.

Same requirement for yml files with multiline values (Ruby on Rails Gibberish Translations). Like demo I suggest to use a TextArea for multiline keys.

Maybe a simple check if the value has one ore more \n triggers to use of a textarea (more sophistication is required but that would be a start).

Regards

Sacha

 
Avatar Sacha 2 posts

Hi 99translations

The newly added “edit beta” works as expected and allows the editing of multiline values.

Thanks very much.

Sacha