Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | extend localizaion and build process to .properties files | ||
---|---|---|---|
Product: | Build Tools | Reporter: | hjs <hans-joachim.lankenau> |
Component: | code | Assignee: | 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
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 |