This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
Be familiar with the tags/syntax of the programming language(s)
Aug 15, 2019
Hi Husam,
In order to learn how to translate a text embedded in code, you need to be familiar with the tags and syntax of the programming languages. It takes a bit of time, but that is the first step. Once you get to know them, you will be able to identify the code, the text and the placeholders easily.
For example, in HTML, text is normally enclosed within an opening tag and a closing tag:
<h1>HELLO WORLD<\h1> (h = header) <p>This... See more
Hi Husam,
In order to learn how to translate a text embedded in code, you need to be familiar with the tags and syntax of the programming languages. It takes a bit of time, but that is the first step. Once you get to know them, you will be able to identify the code, the text and the placeholders easily.
For example, in HTML, text is normally enclosed within an opening tag and a closing tag:
<h1>HELLO WORLD<\h1> (h = header) <p>This is an example.</p> (p = paragraph)
In another language such as PHP, text appears within "":
<?php $cars=array("house","door","window"); echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . "."; <?>
Here, "house", "door" and "window" would be the text to translate. <?php and ?> are the tags that close the piece of PHP code, $cars is a variable that stores unsorted elements and echo is a command for printing on screen. Basically, when you run that piece of code, you will see this on screen "I like house, door and window".
A really good website for learning code is https://www.w3schools.com. I would recommend you to start with HTML and then move to PHP, Java or Python.
Manage your TMs and Terms ... and boost your translation business
Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.
The leading translation software used by over 270,000 translators.
Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop
and cloud solution, empowering you to work in the most efficient and cost-effective way.