Kodi Community Forum

Full Version: Adding empty strings to weblate translation for ignoring "is/are/from/at/as/the"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Quote:queeup wrote:
> Hello,
>
> Is there and way I can empty strings? Because in
> Turkish language we are not using
> "is/are/from/at/as/the" etc. Can I put something for
> ignore this strings? Rather then empty space?


I found a good solution:
Just write a unicode "Zero Width Space" character.
Code: U+200B

Under linux: Hold down ctrl+shift and type: u220b than release.
Under vim: in insert mode press ctrl+v and type u220b

Under windows: I don't know but this might help:
http://en.wikipedia.org/wiki/Unicode_input

More info on space characters:
http://en.wikipedia.org/wiki/Space_(punc...in_Unicode

Tested working in xbmc rendered as "nothing" instead of the english string. Just the way we want.

Cheers, Attila
Above, my questions about adding empty strings and answered by @alanwww1. This trick is not working anymore. Is there anyway to do that @Gade?
In Weblate right above the text field to the right, there is a button called "NBS" (No-Break Space).

That can be used for exactly that.