Issue 123014

Summary: Generate new kid (KeyID) localize.sdf file
Product: Internationalization Reporter: Andrea Pescetti <pescetti>
Component: i18npoolAssignee: AOO issues mailing list <issues>
Status: CLOSED FIXED_WITHOUT_CODE QA Contact: Mechtilde <mechtilde>
Severity: Normal    
Priority: P3 CC: hdu, issues, josef.latt, jsc, mechtilde, rainerbielefeld_ooo_qa
Version: 4.0.0Flags: jsc: 4.0.1_release_blocker-
Target Milestone: 4.2.0   
Hardware: All   
OS: All   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Fix localize invokation none

Description Andrea Pescetti 2013-08-11 15:22:01 UTC
The KeyID (kid) localize.sdf file should be updated with the new 4.0 strings to help translators identify strings.

The current process seems to be broken or at least needs investigation, see Juergen's comments in http://markmail.org/message/yrz6wfjoxbm7ztte for more.
Comment 1 Ariel Constenla-Haile 2013-08-12 06:07:23 UTC
Created attachment 81318 [details]
Fix localize invokation

The fix is rather trivial:

-   $(LOCALIZE_SL) -e -l en-US -f $(MYTEMP)
+   cd $(SRC_ROOT) && localize -e -l en-US -f $(MYTEMP)
Comment 2 SVN Robot 2013-08-29 20:54:33 UTC
"pescetti" committed SVN revision 1518819 into trunk:
#123014# Fix localize invokation - Patch-By: arielch
Comment 3 SVN Robot 2013-08-29 21:09:04 UTC
"pescetti" committed SVN revision 1518822 into trunk:
#123014# Regenerate sdf file for kid (KeyID)
Comment 4 Andrea Pescetti 2013-08-29 21:14:02 UTC
An updated KeyID (kid) SDF file is now available in trunk. If the change is ported to AOO401, translators will be able to use the AOO401 KeyID build to fix translation errors more efficiently. Of course, the KeyID build is an internal version, not to be released.
Comment 5 Ariel Constenla-Haile 2013-08-29 22:09:02 UTC
If you generate the KID sdf with the -dbimport option like this:

[ariel@localhost main]$ perl ./l10ntools/scripts/keyidGen.pl /home/ariel/translation/aoo40/aoo400.sdf /home/ariel/translation/aoo40/kid-dbimport.sdf -dbimport

you get a sdf file like the en-US.sdf but with a column with the KID. This SDF could be used to generate the PO templates, transforming the KID column into a comment. Unfortunately didn't find any option in oo2po to do so.
Comment 6 jsc 2013-08-30 08:39:56 UTC
I don't think this is a showstopper. We should first figure out how exactly it works and should be used to produce a usable result. And this work should continue on trunk
Comment 7 Rainer Bielefeld 2013-09-12 15:25:49 UTC
Oops, sorry, wrong Bug!
Comment 8 Marcus 2017-05-20 10:44:57 UTC
Reset the assignee to the default "issues@openoffice.apache.org".
Comment 9 Mechtilde 2018-12-19 12:04:13 UTC
I will create such a build ASAP (next days)
Comment 10 Mechtilde 2019-01-17 10:17:44 UTC
I created one as rpm and deb for 64 bit 

http://home.apache.org/~mechtilde/NewBuild/

so this is fixed