Discourse-cakeday/client.en.yml contains an empty translation string

AI-generated summary

A discussion about an empty translation string in the discourse-cakeday/client.en.yml file. icaria36 pointed out the issue, which was initially considered harmless. neil replied that the string is intentionally translated as an empty string in English.

icaria36 suggested eliminating or converting the space to a true empty string to resolve the issue with Transifex. fantasticfears noted that Discourse falls back to English, so there’s no problem with the empty item, and provided a workaround for Transifex.

SidV offered a solution using Transifex’s “RAW mode” to copy the blank space and achieve 100% translation. fantasticfears further explained how to access the RAW mode feature in Transifex.

Hi, yesterday @neil pushed the Cakeday files to Transifex for translation. Thank you very much!

One empty string is being called for (an impossible) translation in the client file, see number 6 at https://www.transifex.com/discourse/discourse-org/viewstrings/#ca/discourse-cakedayclientenyml

It’s just a harmless detail, but just in case you aim for perfection… :wink:

2 curtidas

It’s translated as an empty string in english, so… I guess that’s correct? @icaria36 What do you suggest we do?

1 curtida

If it´s complicated, then we can just ignore this. :slight_smile: Translations will be at 99%, they will show a blank space in English and that’s it.

Actually it isn’t an empty string, it has space. Transifex doesn’t accept a space as a translation of a space (seriously, although I can see the point).

What is the function of that space? Can it be either eliminated or converted in really an empty string "" (which maybe it is ignored by Transifex)?

As said, if this is too much trouble for a space then let’s just leave it.

2 curtidas

I found that quite annoy too.

But Discourse always fallback to English so there is no problem to see the empty item. The trick for Transifex is to download and upload it up again for correct translation.

2 curtidas

Mmm why? :thinking:
Put the RAW mode "on" at transifex, and copy the “blank space” for english to your language.
And that’s it! 100% translated :wink:

4 curtidas

Hold my beer! It’s in the gear dropdown on top right corner.

1 curtida