Difference between revisions of "HOWTO-Translate ScummVM GUI"

Jump to navigation Jump to search
→‎FAQ: Add one question to FAQ
m (→‎FAQ: Add one question to FAQ)
(→‎FAQ: Add one question to FAQ)
Line 47: Line 47:


== FAQ ==
== FAQ ==
=== What's a fuzzy string? ===
=== What is a fuzzy string? ===
It's a string calling for translator revision. For example, if an English string gets a small change in the source code, or if a new english string similar to an existing one is added, the translation of that string is marked as fuzzy.
It's a string calling for translator revision. For example, if an English string gets a small change in the source code, or if a new english string similar to an existing one is added, the translation of that string is marked as fuzzy.


Line 58: Line 58:
They are obsolete strings that were used in the past in ScummVM but have since been removed. They are kept in the file to help translators (e.g. if the string is added back or a similar string is added), but will not be used in ScummVM. There is therefore no need to translate those.
They are obsolete strings that were used in the past in ScummVM but have since been removed. They are kept in the file to help translators (e.g. if the string is added back or a similar string is added), but will not be used in ScummVM. There is therefore no need to translate those.


=== Why is there strange '\' in some strings? ===
The backslash character \ is used in C/C++ strings to protect the following character or for special characters. They may therefore be present in strings to translate but will not appear as is to the users. Currently the following sequence are supported by the translation creation tool. You may keep the one you encounter, remove some of them or even add some of them in translated strings. Usually you will want to keep them however.
{|
! In string||Appear to user as
|-
|'''\n'''||line break
|-
|'''\t'''||tabulation
|-
|'''\\'''||\ (single backslash)
|-
|'''\''''|| ' (single quote)
|-
|'''\"'''|| " (double quote)
|}
=== What are "Plural-forms"? ===
=== What are "Plural-forms"? ===
Some languages have different word forms for different numbers of things (for example in English we have "1 thing" but "2 things"). The rules are different for different languages. You can find them [http://translate.sourceforge.net/wiki/l10n/pluralforms here].
Some languages have different word forms for different numbers of things (for example in English we have "1 thing" but "2 things"). The rules are different for different languages. You can find them [http://translate.sourceforge.net/wiki/l10n/pluralforms here].
TrustedUser
2,147

edits

Navigation menu