- changed title to Expand Locale variables like ${trgLoc} in resourceParameters.dbDirectory of the PensieveTMConnector
- changed status to open
Expand Locale variables like ${trgLoc} in resourceParameters.dbDirectory of the PensieveTMConnector
Original issue 429 created by Uli.Laege... on 2014-12-18T10:01:05.000Z:
What steps will reproduce the problem?
Just enter the following text as name of tmx file in the settings of the leveraging step. In my case i use the PensieveTMConnector.
${rootDir}\${trgLang}.tmx
The line in the pipeline file looks like
resourceParameters.dbDirectory=${rootDir}\${trgLang}.tmx
What is the expected output? What do you see instead?
The ${trgLang} variable should be replaced by the real target locale
What version of the product are you using? On what operating system?
Okapi Tikal - Localization Toolset
Version: 2.0.26
Java version: 1.7.0_71
Platform: Windows 7, amd64, 6.1
Java VM memory: free=184.295 KB, total=187.904 KB
Tikal display encoding: cp850
Please provide any additional information below.
Comments (9)
-
Account Deleted -
Account Deleted Comment 2. originally posted by @ysavourel on 2014-12-18T12:44:15.000Z:
I've updated the connector's code.
The fix is available here:
http://okapi.opentag.com/snapshots/okapi-apps_win32-x86_64_0.27-SNAPSHOT.zipCould you verify if it works now and report back so we can close the issue?
Thanks.
-ys -
Account Deleted Comment 3. originally posted by Uli.Laege... on 2014-12-18T15:00:22.000Z:
Hi Yves,
the variable is replaced now but the value is blank.
Note that i call this step in a pipeline which i invoke from the command line.
I set the -sl de -tl en parameters on the command line -
Account Deleted Comment 4. originally posted by @ysavourel on 2014-12-18T15:10:07.000Z:
Thanks for the quick feedback.
I guess i'll have to debug to see what is happening. -
Account Deleted Comment 5. originally posted by @ysavourel on 2014-12-18T15:40:21.000Z:
The locales were set after the Pensieve connector was initialized (where the substitution occurs).
Try this new build:
http://okapi.opentag.com/snapshots/okapi-apps_win32-x86_64_0.27-SNAPSHOT.zip -
Account Deleted Comment 6. originally posted by Uli.Laege... on 2014-12-19T08:44:25.000Z:
The snapshot does not contain any changes.
-
Account Deleted Comment 7. originally posted by @ysavourel on 2014-12-19T13:12:08.000Z:
There was another place where the setting of the locale needed to be moved. This time I've tested the code.
The zip filete below should have the modification:
http://okapi.opentag.com/snapshots/okapi-apps_win32-x86_64_0.27-SNAPSHOT.zip -
Account Deleted Comment 8. originally posted by Uli.Laege... on 2014-12-19T13:35:45.000Z:
Perfect, now it works.
Thanks. -
Account Deleted - changed status to resolved
Comment 9. originally posted by @ysavourel on 2014-12-19T15:17:36.000Z:
Fixed with: https://code.google.com/p/okapi/source/detail?r=88d0ffe910cd52260f6e55e44855e395bda71303&name=dev
- Log in to comment
Comment 1. originally posted by @ysavourel on 2014-12-18T12:24:11.000Z:
The issue is that the dbDirectory of the PensieveTMConnector is processed for rootDir but not for locales variables.
The documentation doesn't state any variable can be used.
The fix is to add the code in the connector and update the documentation.