# How to manage empty strings?

**URL:** <https://forum.xwiki.org/t/how-to-manage-empty-strings/3682>\
**Category:** Translations\
**Created:** [September 30, 2018, 8:21pm UTC](https://forum.xwiki.org/t/how-to-manage-empty-strings/3682 "2018-09-30T20:21:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xrichard](https://forum.xwiki.org/user_avatar/forum.xwiki.org/xrichard/32/8779_2.png) [@xrichard](https://forum.xwiki.org/u/xrichard)\
**Post date:** [September 30, 2018, 8:21pm UTC](https://forum.xwiki.org/t/how-to-manage-empty-strings/3682/1 "2018-09-30T20:21:06Z")

</div>

Hi,

Yet, it’s impossible to translate any translation to 100% (even in the source language “english”!) because some strings need to be left “empty” which is not allowed in Weblate.

See for instance: the 4 following strings:

> **[XWiki Platform/XWiki Core Resources — English](https://l10n.xwiki.org/translate/xwiki-platform/xwiki-core-resources/en/?checksum=dfc0b582aa046b3a)**
>
> XWiki Platform is being translated into 41 languages using Weblate. Join the translation or start translating your own project.

> **[XWiki Platform/Repository — English](https://l10n.xwiki.org/translate/xwiki-platform/repository/en/?checksum=ffca356cdba05a4e)**
>
> XWiki Platform is being translated into 41 languages using Weblate. Join the translation or start translating your own project.

> **[XWiki Platform/Panels.Translations — English](https://l10n.xwiki.org/translate/xwiki-platform/panels-translations/en/?checksum=62d9348a12c482e9)**
>
> XWiki Platform is being translated into 41 languages using Weblate. Join the translation or start translating your own project.

> **[XWiki Platform/Main WikiManager.Translations — English](https://l10n.xwiki.org/translate/xwiki-platform/main-wikimanager-translations/en/?checksum=8cbffdac824f1da)**
>
> XWiki Platform is being translated into 41 languages using Weblate. Join the translation or start translating your own project.

How can we handle these strings?

- Remove them from Weblate?
- Change Weblate behavior: accept empty string and consider them automatically like “done translation”?

Thanks for your answers,

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [October 1, 2018, 7:56am UTC](https://forum.xwiki.org/t/how-to-manage-empty-strings/3682/2 "2018-10-01T07:56:44Z")

</div>

> [@xrichard](#):
>
> Change Weblate behavior: accept empty string and consider them automatically like “done translation”?

That’s what we were doing in the old system and that’s the logic we followin in actual translation files but not sure if Weblate support this.

---

<div class="post-metadata">

**Author:** ![xrichard](https://forum.xwiki.org/user_avatar/forum.xwiki.org/xrichard/32/8779_2.png) [@xrichard](https://forum.xwiki.org/u/xrichard)\
**Post date:** [October 1, 2018, 7:55pm UTC](https://forum.xwiki.org/t/how-to-manage-empty-strings/3682/3 "2018-10-01T19:55:28Z")

</div>

Ok, it looks like Weblate needs to be improved, see: [Skipping empty strings? · Issue #1920 · WeblateOrg/weblate · GitHub](https://github.com/WeblateOrg/weblate/issues/1920)

Either Weblate will be improved and [https://l10n.xwiki.org/](https://l10n.xwiki.org/) will need to be updated or we will need to think about my first proposal (removing empty strings from Weblate resources files).
