# Weblate: huge useless context

**URL:** <https://forum.xwiki.org/t/weblate-huge-useless-context/3897>\
**Category:** Translations\
**Created:** [November 10, 2018, 11:28am UTC](https://forum.xwiki.org/t/weblate-huge-useless-context/3897 "2018-11-10T11:28:35Z")\
**Posts on this page:** 4\
**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:** [November 10, 2018, 11:28am UTC](https://forum.xwiki.org/t/weblate-huge-useless-context/3897/1 "2018-11-10T11:28:36Z")

</div>

Hi,

Can someone have a look to the context of these strings which are both huge and useless:

- [XWiki Platform/XWiki Core Resources — French @ Weblate XWiki.org: English](https://l10n.xwiki.org/translate/xwiki-platform/xwiki-core-resources/fr/?type=todo&offset=4)
- [XWiki Platform/XWiki Core Resources — French @ Weblate XWiki.org: French](https://l10n.xwiki.org/translate/xwiki-platform/xwiki-core-resources/fr/?type=todo&offset=5)
- [XWiki Platform/XWiki Core Resources — French @ Weblate XWiki.org: German](https://l10n.xwiki.org/translate/xwiki-platform/xwiki-core-resources/fr/?type=todo&offset=6)

Where do these contexts are coming from? Is it possible to remove them in Weblate to ease translation? Can we identify if this pb occurs on other Weblate strings?

Note: I think context is the same for all strings and this remark affects all languages.

---

<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:** [November 10, 2018, 1:08pm UTC](https://forum.xwiki.org/t/weblate-huge-useless-context/3897/2 "2018-11-10T13:08:40Z")

</div>

That’s very weird, looks like a bug in either weblate of the script which prepare the resource before weblate parse them. According to the link you pasted some key which are definitely not commented in git are parsed as commented by Weblate.

The first link related to the keys starting at [xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties at master · xwiki/xwiki-platform · GitHub](https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties#L3860).

I created [Loading...](https://jira.xwiki.org/browse/XINFRA-269). Maybe you have an idea @atallahade.

---

<div class="post-metadata">

**Author:** ![atallahade](https://forum.xwiki.org/user_avatar/forum.xwiki.org/atallahade/32/938_2.png) [@atallahade](https://forum.xwiki.org/u/atallahade)\
**Post date:** [November 10, 2018, 1:22pm UTC](https://forum.xwiki.org/t/weblate-huge-useless-context/3897/3 "2018-11-10T13:22:18Z")

</div>

Thanks for reporting the issue @xrichard, I know where the problem comes from, I’ll fix that.

---

<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:** [November 11, 2018, 6:56pm UTC](https://forum.xwiki.org/t/weblate-huge-useless-context/3897/4 "2018-11-11T18:56:25Z")

</div>

@atallahade thanks and good work 🙏.

I will follow the Jira issue opened by Thomas.
