Translators: Reference#
HTML#
We will use this string as an example for the advice in this section.
Source String:
If you have a general question about {platform_name} please email
<a href="mailto:{contact_email}">{contact_email}</a>."
Good translation:
{platform_name}에 대해 일반적인 질문이 있으면
<a href="mailto:{contact_email}">{contact_email}</a>로 이메일 주십시요."
Bad Translations:
Translation |
Reason it’s Bad |
---|---|
|
Removing tags can break platform functionality. In the Bad translation
the |
|
Do not translate the HTML tags. Please use the given HTML tags. |
|
Do not change the HTML tags to something new. Please use the given HTML tags. Changing the html tags can alter the behavior of the platform in unintended ways. |
|
Do not add additional spacing to the HTML tags. Please use the given HTML tags. |
Placeholders#
Curly Brace Placeholders#
Source String:
Welcome back {student_name}! Today is {month} {day}.
Good Translation:
It’s okay to re-arrange the placeholders as long as you don’t change them.
¡Bienvenido {student_name}! Hoy es {day} de {month}.
Bad Translations:
Translation |
Reason it’s Bad |
---|---|
|
Do not translate the placeholder string. You must use |
|
Do not alter the placeholder string punctuation. You must use
|
|
Do not alter the placeholder string capitalization. You must use
|
|
Do not add additional spacing inside the {}. You must use
|
Percent Parenthesis Placeholders#
Source String:
Welcome back %(student_name)s! Today is %(month)s %(day)d.
Good Translation:
It’s okay to re-arrange the placeholders as long as you don’t change them.
¡Bienvenido %(student_name)s! Hoy es %(day)d de $(month)s.
Bad Translations:
Translation |
Reason it’s Bad |
---|---|
|
Do not translate the placeholder string. You must use
|
|
Do not alter the placeholder string punctuation. You must use
|
|
Do not alter the placeholder string capitalization. You must use
|
|
Do not add additional spacing inside the %()s. You must use
|
|
Do not remove the |
|
Do not change the character following the parenthesis. You must use
|
Angle Bracket Placeholders#
Source String:
Welcome back <%= student_name %>! Today is <%= month %> <%= day %>.
Good Translation:
It’s okay to re-arrange the placeholders as long as you don’t change them.
¡Bienvenido <%= student_name %>! Hoy es <%= day %> de <%= month %>.
Bad Translations:
Translation |
Reason it’s Bad |
---|---|
|
Do not translate the placeholder string. You must use |
|
Do not alter the placeholder string punctuation. You must use
|
|
Do not alter the placeholder string capitalization. You must use
|
|
Do not add additional spacing inside the <%= %>. You must use
|
|
Do note remove or change the |