JavaScript Runtime Rules

Pre-Processing JavaScript Runtime Rules Template
The template in this sample is for JS2, but can be used for any JS step from 1 through to 7. This template also includes code for debugging in Microsof...
Wed, 14 Sep, 2016 at 1:40 PM
Matching Source Capitalization
Language Studio utilizes a number of different approaches to capitalization depending on the language pair and client requirements. Some of the approaches...
Wed, 14 Sep, 2016 at 1:36 PM
Simple example of a pre-translation correction applied via JavaScript in JS3
This example changes the source text so that it matches the customers style guide. In this example, the following terms need to be replaced with the word ...
Wed, 14 Sep, 2016 at 12:33 PM
Handling embedded new line characters (\n) using JavaScript rules
Some source content may have an embedded new line character such as \n within the text. This can often be in the middle of a segment and is used for layout ...
Sun, 6 Sep, 2015 at 8:16 PM
List of JavaScript Rules and Translation Steps
Language Studio™ V4.0 Custom JavaScript Pre and Post Processing There are 25 steps to processing a translation. Each step performs a specific function in p...
Fri, 6 Oct, 2017 at 6:59 PM
Using JavaScript to prepare content for better translation quality.
Using JavaScript to prepare content for better translation quality. There are many steps in the translation process that can benefit from JavaScr...
Mon, 26 Dec, 2016 at 1:05 PM
Example code to detect Honorifics and make trailing names as non-translatable
This snippet will make the names that it detects as non-translatable. Input Text: Datuk Seri Mahathir bin Mohammad sempat dikeluarkan d...
Fri, 26 Aug, 2016 at 4:29 PM