Issue 112394

Summary: extend localizaion and build process to .properties files
Product: Build Tools Reporter: hjs <hans-joachim.lankenau>
Component: codeAssignee: hjs <hans-joachim.lankenau>
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P3 CC: issues, jsc
Version: current   
Target Milestone: OOo 3.3   
Hardware: All   
OS: All   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 100845    

Description hjs 2010-06-14 18:14:07 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.
Comment 1 hjs 2010-06-14 18:26:51 UTC
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
Comment 2 hjs 2010-06-14 18:32:29 UTC
.
Comment 3 hjs 2010-06-15 12:48:29 UTC
correction: must be CLASSDIR instead of just CLASS

------
L10NPROPERTYFILES:=$(CLASSDIR)/$(PACKAGE)/myfile.properties
------

or

------
L10NPROPERTYFILES:=$(CLASSDIR)/$(PACKAGE)/myfile_en_US.properties
------
Comment 4 ivo.hinkelmann 2010-06-15 15:22:30 UTC
works fine