Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
skoda-ep:translation_guide [21.11.2017 03:49]
Lukáš Čech [How to translate the .po files]
skoda-ep:translation_guide [15.06.2018 06:36] (aktuální)
Lukáš Čech [Non-breaking/Hard spaces]
Řádek 97: Řádek 97:
 //Na zacatku mesice jsme prijali soubory od firmy **Your System**// //Na zacatku mesice jsme prijali soubory od firmy **Your System**//
  
-To accommodate for this, you might see placeholders like "​%s"​ for a string or "​%d"​ for a number and it is your responsibility to place it in a correct position in the translated sentence. +To accommodate for this, you might see placeholders like "%s" or "%s$1" for a string or "%d" or "%d$1" for a number and it is your responsibility to place it in a correct position in the translated sentence. 
-This is what it looks like:+This is what it looks like (click):
  
  
-{{ :​skoda-ep:​placeholder.png?​200 |}}+{{ :​skoda-ep:​placeholder.png?​300 |}} 
 + 
 +We also use these placeholders for making some parts of the text bold or different color or to create a link, for example "You have to agree to %s$1our terms and conditions%s$2"​ - our terms and conditions will be a link to a document.
  
 {{ :​skoda-ep:​translation_placeholders.gif | }} {{ :​skoda-ep:​translation_placeholders.gif | }}
Řádek 109: Řádek 111:
 Generally, if you see some symbols in the original string, they need to be placed somewhere in the translation. If you are not sure, send us an email asking about it, or leave it at the same position as it is in the original. Generally, if you see some symbols in the original string, they need to be placed somewhere in the translation. If you are not sure, send us an email asking about it, or leave it at the same position as it is in the original.
  
 +
 +
 +===== Non-breaking/​Hard spaces =====
 +
 +Sometimes it is necessary for two words to stay together. You can accomplish this by replacing a standard space with "&​nbsp;"​ (non breaking space)
 +
 +For example: //We run Tour de France contest one time a year!//
 +
 +You want to keep together "Tour de France"​ and "a year" so you use "&​nbsp;"​ like this: //We run Tour&​nbsp;​de&​nbsp;​France contest one time a&​nbsp;​year!//​
 +
 +It is also possible to use the non breaking space character on your computer, but it is a bit [[https://​en.wikipedia.org/​wiki/​Non-breaking_space#​Keyboard_entry_methods|more difficult to achieve on windows machines]].