Apache OpenOffice (AOO) Bugzilla – Issue 112394
extend localizaion and build process to .properties files
Last modified: 2017-05-20 10:24:21 UTC
the current L10N process doesn't allow direct processing of .property resource files. this task is about integrating that format as yet another resource type into the common L10n process.
sample makefile snippet to get localized .properties files: ------ L10NPROPERTYFILES:=$(CLASS)/$(PACKAGE)/myfile.properties ------ or ------ L10NPROPERTYFILES:=$(CLASS)/$(PACKAGE)/myfile_en_US.properties ------ source language .properties files are expected to reside in the current directory. currently the only supported destination is $(CLASS)/$(PACKAGE) - which seems to be sufficient for all found use cases. for the processing makefile check out solenv/inc/tg_propmerge.mk
.
correction: must be CLASSDIR instead of just CLASS ------ L10NPROPERTYFILES:=$(CLASSDIR)/$(PACKAGE)/myfile.properties ------ or ------ L10NPROPERTYFILES:=$(CLASSDIR)/$(PACKAGE)/myfile_en_US.properties ------
works fine