Apache OpenOffice (AOO) Bugzilla – Issue 8092
localize does not extract
Last modified: 2003-01-07 10:08:28 UTC
I'm trying to build SRX643_OO for Czech language but I can not get localize to extract all strings: oo@mirka:~/Build/oo_SRX643_OO_src> localize -e -i cs-CZ -l 01,99=01 -f /tmp/q.txt ======================================================= Current settings: ======================================================= Mode: extract Workspace: SRC643 Source tree: /home/oo/Build/oo_SRX643_OO_src Languages: 01,99=01 ISO code (99): cs-CZ Filename: /tmp/q.txt ======================================================= Reading database /home/oo/Build/oo_SRX643_OO_src/solenv/config/stand.lst ... Creating virtual directory tree ... pDirectory->GetSubDirectories() is false The last string was added by me to srciter.cxx to the function void SourceTreeIterator::ExecuteDirectory( SourceDirectory *pDirectory ) { if ( bInExecute ) { OnExecuteDirectory( pDirectory->GetFullPath()); if ( pDirectory->GetSubDirectories()) { for ( ULONG i=0;i < pDirectory->GetSubDirectories()->Count();i++ ) ExecuteDirectory(( SourceDirectory * ) pDirectory->GetSubDirectories()->GetObject( i )); } else fprintf(stderr, "pDirectory->GetSubDirectories() is false\n"); } } I'm able to merge all strings from the GSI file to the sources as I was doing with 1.0.1.
DL->NF: Could you please takeover?
For me it simply looks like the workspace set in environment is not available in the stand.ls7 (solver/config/stand.lst). If localize is not able to locate the workspace in the stand.lst it internally sets the count of modules to be analysed to zero => GetSubDirectories() returns 0. Solution: Please check if the stand.lst contains the workspace set in environment (in the current case SRC643). If not, set up a valid environment and localize should work. Potentially you have to checkout a valid stand.lst.
Yes. I use 643 developers build (regularly updated to tag SRX643_OO from CVS). The file solenv/config/stand.lst contains those environments: oo@oo:~/tr/oo_SRX643_OO_src/solenv/config> grep ^S stand.lst SRC638 SRC641 SRX642 I tried to synch ro HEAD and even there is no SRX643: oo@oo:~/tr/oo_SRX643_OO_src/solenv/config> grep ^S stand.lst SRC641 SRX642 SRC654 SRC655 Where can I found the correct definition of SRX643? I tried to "workaround" it by renaming SRX642 to SRX643 and it started doing something. So having correct definition of SRX643 will solve this problem, IMHO.
Hi Pavel, I just added SRX643 to stand.lst (HEAD), please update. OTH, differences between SRX642 and SRX643 are small indeed, so your workaround should not be too bad. Rüdiger
I still do not see SRX643 there: oo@oo:~/tr/oo_OO643C_src/solenv/config> cvs -z9 diff -u -r HEAD stand.lst|grep SRX643 oo@oo:~/tr/oo_OO643C_src/solenv/config> Can you please send it to my via e-mail?
Kevin have just commited it to public CVS. So we can close this. Thank you for solving it.
Closed now
-