![]() |
|||
Dear Alchemy Technology User, |
|||
![]() |
My name is Cyril Vallin, I am the Product Support Manager at Alchemy Software Development and I’d like to welcome you to my new quarterly TechBytes Email. What I would like to do with TechBytes is to share the experiences that some of you are having so that we can all benefit and enhance our use of Alchemy technology. In Support we sometimes see similar topics being queried and I hope that sharing this knowledge will promote advancement amongst our users. Click on any of the screenshots to see it in full size. |
||
News and updatesAs part of the Localization World exhibition last Autumn in Silicon Valley, we released our Alchemy Coffee Break Videos. These short YouTube videos are a great way of introducing your team to Alchemy CATALYST in short snippets - Energize your localization process in just 10 minutes! We would like to thank all of you who attended the Vancouver, Santa Clara and Dublin User Conferences in 2011. Keep an eye for our upcoming events in 2012.
Locking Keywords
|
|||
Managing your custom ezParse rules
|
![]() |
![]() |
Tip: In order to save one particular rule, click on the ezParse Settings top checkbox. Then you can navigate to the desired rule(s) and select them individually. Finally name the file you are exporting to.
Having saved your ezParse rules, you now have the option to share them with other users within or outside of your organisation. You are protected in case of hardware failure requiring you to reinstall Catalyst 9.0 on a different machine.
To import ezParse rules Go to Tools menu > Options > ezParse > Import button. You will have the option to select all or some of the rules saved within the .ezp file in the same way you selected the rule to export.
The default parsing rules are always present on your machine in the User directory:
• Microsoft Vista & Windows 7 = C:\Users\Public\Alchemy Software\Catalyst 9.0\ezParseRules.ezp
• All other Microsoft OS = C:\Documents and Settings\All Users\Alchemy Software\Catalyst 9.0\ezParseRules.ezp
More on creating parsing rules in our Coffee Break Videos. Look at "Translating XML Files" and "Translating Text files" videos.
Saving your file in Catalyst 9.0 is standard like all Windows application on the market, however there is more to know about what happens from creating a new project to hitting the Save button.
By default, there is an option to Autosave your project every 5 mins. It creates an .atk file in your public folder:
• Microsoft Vista & Windows 7 = C:\Users\Public\Alchemy Software\Catalyst 9.0\Autosave
• All other Microsoft OS = C:\Documents and Settings\All Users\Alchemy Software\Catalyst 9.0\Autosave
This can be configured in Tools menu > Options > Application. There you can change the time lapse to autosave on and the directory to autosave to.
The autosave will automatically save your "unsaved" project after the defined time lapse. This means, when you create a new project and start working on it without saving, it will automatically save after the defined time. This does not create a .ttk file but an .atk file. Once a project file is saved in the user interface, the autosaved version is discarded. There is no longer a need for this backup file.
In the event that the application closes prematurely leaving an *.atk file in the Autosave folder, on next launch of Catalyst 9.0 any .atk file is detected and you receive a notification:
Note, closing without saving will clear the .atk file.
Tip: If you do not wish to be prompted by this message because you don't want to open the autosave files, go to the Autosave directory and delete any .atk file present.
When clicking on the Save button, or use File menu > Save, Catalyst 9.0 will create a .ttk file (Translation Toolkit Kit). This is the standard application format which can be shared with other user of the product. However, once you save the .ttk file subsequently, Catalyst 9.0 creates a .bak file which is a backup of the TTK reflecting the previous state of the TTK when you last saved.
Technically, the moment you click on Save, Catalyst 9.0 takes the current .ttk saved on your hard drive and renames it to .bak, then starts saving your project to what is ultimately a new .ttk file with the same filename.
Tip: In case something happens to your .ttk file, you can look for any existing .bak file in the same directory. You can rename this file from .bak to .ttk (for example, rename myproject1.bak to myproject.ttk) and open the TTK as normal. You have thus opened the last backup file which is the .ttk file saved before the very last time you clicked Save.
If you do not want to spend time writing ezScript commands but still like to automate different processes at a differed time, the Scheduler feature new to Catalyst 9.0 will be for you! The Scheduler in conjunction with a Job file is used in Catalyst 9.0 to run Alchemy Catalyst Experts as scheduled tasks. This will enable you to work across several target languages simultaneously. This can be easily set up through the UI of Catalyst 9.0 without any knowledge of ezScript commands.
The Scheduler tab located at the bottom of the Interface is used to track the progress of Job files. Click on it to open and review the contents, just like you would with all other tabs in Catalyst. Use the thumb pin to lock or unlock it from view. This tab provides a real time progress status for each Job file that is being Scheduled & processed. From here you can start, pause and delete individual tasks.
Job files can now be used in Catalyst 9.0 Experts to send tasks to the scheduler. From there you can control when to run the defined tasks for all your project's languages. A Job file contains the following information:
How to create a new Job File
To create a new Job file click on File menu > New Job File…
In the “New Job File” window you can define the Job Filename; this is the filename your Job file will be saved as. For example, if you enter ProjectA as the job file, this will generate ProjectA.jobx in the Job target location.
The Job Target Location is the location used to store the Job File and also the location of all files which will be created as outputs when the Scheduler is processing this Job File.
Under the Files tab you will be able to add (or remove) the Source Project Files (TTK files). A source project file is the template TTK (or master TTK) for all the TTKs which will be automatically created (also called prepared) for the different target languages defined in this job file.
Tip: Create your master Project TTK including locking, Keywords and memos. Using the job file, you will automatically create (Prepare) a copy of this master TTK for each language defined in the Languages tab. Each of those TTKs will have their target language automatically changed.
The Languages tab is to define your Source Language and all associated target Languages. Thus when using this job file in a Catalyst Expert, it will run the task for each language pair listed here.
When ticking the option Prepare Job File (generate target language folder structure for the new Job), on Clicking the OK button a folder will be created under the previously set Job Target Location. Catalyst will create a sub directory for each listed target language and copy the Source project files within, having changed the project's target language. Opting out of this option, you can generate the Target folder any time with File menu > Prepare Job File…
It is also possible to edit any job file, File menu > Edit job file...
Using your Job File
When launching one of the Catalyst 9.0 Experts you have the option to use a Job file. This will queue the task in the Scheduler waiting for you to start it at a suitable time. It thus allows to "Schedule" (in case you were wondering where the name comes from!) your tasks and run them at a time when you are not necessarily at your machine: going for lunch or leaving the office... In the example below the Leverage Expert is used with a Job file, a .jobx file created earlier.
This is a very powerful mechanism for working with multi-lingual projects. For example, it is now possible to launch the Leverage Expert and run several leveraging processes simultaneously on your desktop.
If a Job file is used by an Catalyst Expert, it will be dispatched to the Scheduler. Opening the Scheduler tab at the bottom of the interface will show your tasks being queued:
When a Job file is used to send to the Scheduler, it will be broken down into tasks. Those tasks are first paused. You can add as many tasks as you wish and run them when best suitable for you. This for example gives you the opportunity to run the tasks when you are not running other applications and processes which take resources available on your machine. To run a task you only need to press the play button in the top right of the Scheduler tab.
A Task is a discrete activity that is processed by the Scheduler. The number of tasks created is equal to the number of source Project TTKs multiplied by the number of target languages.
For example, if a Job File contains two source Project TTKs and two target languages, the Scheduler will create four tasks. When the Scheduler has finished processing a Task, its status will be set to finished.
A completed task with all its sub tasks in the Scheduler, highlighted in green, can be deleted by clicking the delete button in the top right corner of the tab (X button).
Check out the "What's new in Alchemy CATALYST 9.0 - p. 2" video featuring the Scheduler & Job files in Alchemy Coffee Break Videos.
In addition to these articles each quarter, I will also include a white papers or case studies with TechBytes. Something you can get your teeth into if you have a bit more time. As we are increasing our library of white papers and case studies, I'd be happy to make suggestions on your behalf on topics that would make for a good technical reading.
Download our article on creating a multilingual website fully internationalized and ready for localization: Tips for creating a multilingual website.If you are developing .NET code destined to be localized then you will want to read this invaluable white paper on best practices to make the most of Visual View in Alchemy Catalyst.
Download our article on getting the most of Visual View with .NET files: Alchemy Catalyst .NET support
Thanks for taking the time to read this first instalment of TechBytes. It has been fun to write and I hope you found some or all of it beneficial. We always welcome new article ideas, so if there is a feature you feel works really well and is worth mentioning, or indeed if clarification on a particular topic would help you, please let me know so together we can make TechBytes as useful as possible for everyone.
My best wishes
Cyril Vallin