<< Click to Display Table of Contents > Resource File Update |
Updating the SAMLight Version
Make sure that you made a backup of sc_resource_sc_mylanguage.SAM and sc_resource_sc_mylanguage.XML before you proceed with updating. |
---|
Some SAMLight Updates may contain new strings in the default resource file due to new functionalities or bug fixes. If you want to update your .XML-table with new strings, proceed as follows.
We recommend you to update your source file only in the case that you need to translate some certain strings that are not in your .XML-File yet. |
---|
1.Update SAMLight version
2.Create a copy of the updated sc_resource_sc_default.sam and rename the copy according to your language, for example to sc_resource_sc_mylanguage.sam.
3.Make sure that your latest translation-XML file is in the <SAM>\reportfiles directory. Start SAMLight with the parameter -import_language. With this step you integrate your translations in the new sc_resource_sc_mylanguage.sam file. It is important that your latest translation-XML file really contains all translated strings. If you are not sure about this, you can do the export again (before doing step 2.) as described previously.
4.After the import, make sure that your translations were copied to SAMLight by checking some dialogs manually.
5.Close SAMLight and start it again with the command line parameter -export_language. Then, SAMLight will overwrite the current translation-XML with the latest one, containing all previous translations and new strings, if there are any in the new SAMLight version.
It is very important that you first import the old translation into the new SAMLight version. By exporting without importing, you will overwrite your translation-XML with the default .xml, which only contains not translated strings. |
---|