engine:import:addtranslation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| engine:import:addtranslation [2020/03/04 23:52] – [Syntax] Scott Cunliffe | engine:import:addtranslation [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| record.</ | record.</ | ||
| < | < | ||
| - | Although an AddTranslation2 is functionally equivalent to a AddTranslation with the same | + | Although an [[engine: |
| - | field and field2 values, AddTranslation entries are processed first, and then AddTranslation2 | + | field and field2 values, AddTranslation entries are processed first, and then [[engine: |
| entries are processed a 2nd time. This allows you to translate the value of the field2 | entries are processed a 2nd time. This allows you to translate the value of the field2 | ||
| comparison field first, and then translate the value of the field based upon the translated value | comparison field first, and then translate the value of the field based upon the translated value | ||
| Line 33: | Line 33: | ||
| - | ==== Example ==== | + | ===== Example |
| Append L3 to each VOLUME field if the value starts with a zero. | Append L3 to each VOLUME field if the value starts with a zero. | ||
| - | <sxh> | + | <code> |
| Truncate a VOLUME field to 6 characters when the Volume-ID starts with an A. | Truncate a VOLUME field to 6 characters when the Volume-ID starts with an A. | ||
| - | <sxh> | + | <code> |
| AddTranslation(VOLUME, | AddTranslation(VOLUME, | ||
| - | </sxh> | + | </code> |
| - | Remove the first 3 characters from a Volume-ID A12345678 and add suffix L4 | + | Remove the first 3 characters from a [[object: |
| - | <sxh> | + | <code> |
| AddTranslation(VOLUME, | AddTranslation(VOLUME, | ||
| - | </sxh> | + | </code> |
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | [[engine: | ||
| + | [[cli: | ||
| + | [[cli: | ||
| {{tag> import_engine sync_engine}} | {{tag> import_engine sync_engine}} | ||
engine/import/addtranslation.1583365968.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
