We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

How to add unicode characters in pootle translation? [answered]

asked 2017-07-26 01:30:23 +0300

Hi,

I want to add a soft hyphen ("\u00AD") to the german translation of "Connect to Internet" (settings_quickaction-la-connect_to_internet) in lipstick-jolla-home-qt5.

Unfortunately, when I insert this unicode character into the text, after saving the change, the backslash is escaped, which results to \u00AD.

Is there any way to use a soft hyphen in translations?

Background:

The translation of "Connect to Internet" is "Internetverbindung herstellen", which breaks in events view without a hyphen, which looks really poor. I don't want to just add a fixed hyphen (and line-break) into the translation, because on other screen resolutions/font size/UI layout, the text may not be wrapped...

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by ejjoman
close date 2017-07-26 09:59:15.963866

Comments

thanks, seems to work - let's see if it works in the next update :D when you convert your comment into an answer, I can mark this as the correct answer :)

ejjoman ( 2017-07-26 01:58:38 +0300 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2017-07-26 01:47:33 +0300

coderus gravatar image

can't you just paste it as char, not as code?

edit flag offensive delete publish link more

Question tools

Follow
1 follower

Stats

Asked: 2017-07-26 01:30:23 +0300

Seen: 145 times

Last updated: Jul 26 '17