framework i18n multiple transalation files

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
bwbohl
Posts: 31
Joined: Mon Jan 23, 2017 11:20 am

framework i18n multiple transalation files

Post by bwbohl » Wed Jun 30, 2021 11:43 am

While it is a great possibility to provide a translation file for a framework by adding '${framework}/i18n/' to the frameworks classpath it would be very helpful for organising translations if it as possible to put multiple translation files into that folder. But apparently oXygen only looks for files named `translation.xml ` or am I missing something?

Apparently the translation files are not namespaced which would be an easy way of assuring oXygen only uses real translation files.
=====
oXygen XML Editor v23.1
macOS Catalina 10.15.7

Radu
Posts: 7592
Joined: Fri Jul 09, 2004 5:18 pm

Re: framework i18n multiple transalation files

Post by Radu » Wed Jun 30, 2021 12:07 pm

Hi,

From what I know Oxygen gathers files with the pattern "translation*.xml" from the "i18n folder". So you can have multiple "translation-XY.xml" files there and Oxygen should somehow collect them all and create a configuration by merging their contents.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply