[go: up one dir, main page]

Skip to content

HTML/Markup tags are broken on translatewiki

Take for example this string:

strings.xml:    <string name="swap_nfc_description">If your friend has <b>F-Droid and NFC turned on</b> touch your phones together.</string>

On translatewiki, the stuff between the markup tags is just hidden:

download

So we end up with translations like these:

values-de/strings.xml:  <string name="swap_nfc_description">Wenn Sie die Telefone mit Ihrem Freund aneinander halten.</string>
values-es/strings.xml:  <string name="swap_nfc_description">Si tu amigo tiene poned en contacto vuestros teléfonos.</string>
values-fi/strings.xml:  <string name="swap_nfc_description">Jos ystävälläsi on  koskekaa puhelimianne yhtäaikaa.</string>
values-ja/strings.xml:  <string name="swap_nfc_description">友達が持っていれば、一緒に電話をタッチしてください。</string>
values-nb/strings.xml:  <string name="swap_nfc_description">Hvis din venn holder telefonene deres sammen.</string>
values-pl/strings.xml:  <string name="swap_nfc_description">Zbliż telefony, jeżeli funkcja  jest dostępna.</string>

We have two options:

  • Fix this in translatewiki (if possible)
  • Stop using markup tags on string resources

CC @eighthave

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information