#7697: [AboutSystem] Link to MIT licence looks strange when localized ----------------------------------------+---------------------------- Reporter: taos | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/AboutSystem | Version: R1/Development Resolution: | Keywords: localization Blocked By: | Blocking: Has a Patch: 0 | Platform: All ----------------------------------------+---------------------------- Comment (by taos): Okay, call me completely mad. I think I found the problem: Characters with diacritics (e.g. é, ö, ñ) are counted twice (but why?). Therefore, the string is cut into parts at the wrong places. Instead of cutting out the %s (... |%|MIT...|%| ...), the cut position is shifted (e.g. ... %|M|IT...%| |...). There is a linear correlation between the number of characters with diacritics in the translated string before %MIT...% and the shifting of the cut position. ||= language =||= number of diacritics =||= shift of cutting position =||= cutting positions =||= image =|| || English || 0 || 0 || |%|MIT licence|%|. || [[Image(en.png)]] || || Dutch || 0 || 0 || |%|MIT-licence|%|. || [[Image(nl.png)]] || || German || 1 || +1 || %|M|IT Lizenz%|.| || [[Image(de.png)]] || || Italian || 2 || +2 || %l|i|cenza MIT%.| |Alcun || [[Image(it.png)]] || || Finnish || 2 || +2 || %M|I|T licence%-|l|isenssin || [[Image(fi.png)]] || || French || 4 || +4 || %lic|e|nce MIT%. Q|u|elques || [[Image(fr.png)]] || || Spanish || 5 || +5 || %lice|n|cia MIT%. Al|g|una || [[Image(es.png)]] || Any ideas how to solve this? -- Ticket URL: <http://dev.haiku-os.org/ticket/7697#comment:6> Haiku <http://dev.haiku-os.org> Haiku - the operating system.