# Are these strings translatable or not?

**URL:** <https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895>\
**Category:** Translations\
**Created:** [November 9, 2018, 9:22pm UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895 "2018-11-09T21:22:37Z")\
**Posts on this page:** 12\
**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 9, 2018, 9:22pm UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/1 "2018-11-09T21:22:38Z")

</div>

Hi,

I will post here some strings I see in XWiki UI but I can not translate / find in XWiki translation tool on [https://l10n.xwiki.org](https://l10n.xwiki.org).

If I’m wrong =\> please tell me how translators can set these strings  
If I’m right =\> I will open Jira issues to change XWiki code and add the missing strings to XWiki resources files.

---

<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 9, 2018, 9:27pm UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/2 "2018-11-09T21:27:04Z")

</div>

**Q1 "autosave"**

Below strings can be seen at the bottom of pages in edit mode and are linked to (new) Autosave feature:  
 ![Autosave](https://discourse.xwiki.org/uploads/default/original/2X/e/ed9358afb878ac17a315f52b320b1f5dff18f1d9.png)

Despite my Wiki is set to french, this sentence is displayed in english and I can not find it in weblate for translation 😥.

---

<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, 9:34am UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/3 "2018-11-10T09:34:06Z")

</div>

**Q2 “Notification email footer”**

I can not find the following strings in weblate neither (I want to improve it and as far as I understand it may be part of the new notification extension?)

> Ce message a été généré par XWiki depuis XXX au nom de YYY.

 ![Notification%20Footer](https://forum.xwiki.org/uploads/default/original/2X/f/ff09c4c614c624e4c332ffc6b30a98bd231cdb4d.png)

Of course I tried “partial” searches in weblate 😜.

---

<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, 9:39am UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/4 "2018-11-10T09:39:54Z")

</div>

**Q3 "Adding tag"**

The following sentence is displayed in english despite Wiki is set to french and can not be found in Weblate:  
 ![Adding%20Tag%20is%20in%20english](https://discourse.xwiki.org/uploads/default/original/2X/9/979a535224c5e8b1cfd66f40317fc0a4466f13fa.png)

---

<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, 9:47am UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/5 "2018-11-10T09:47:30Z")

</div>

**Q4 "Admin: Solr triggered task"**

Next sentence displayed in english and not available in Weblate for translation is linked to Solr in admin:  
 ![Solr%20Index](https://discourse.xwiki.org/uploads/default/original/2X/d/d8e041b1594627bc6cb050b75273a646b3f867c1.png)

Important note: there are at least 3 sentences of this type, 1 for each Solr action.

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [November 11, 2018, 10:59am UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/6 "2018-11-11T10:59:11Z")

</div>

Regarding Q4, could you create a jira issue in [XWiki Platform - XWiki.org JIRA](http://jira.xwiki.org/projects/XWIKI/summary) for it please since I’m confirming we’re missing a translation key in `SolrSearchAdmin.xml`:

```auto
  #elseif (!$isAjaxRequest)
    {{success}}$escapetool.xml($stringtool.capitalize($request.action)) successfully triggered.{{/success}}
    ## Only administrators with programmings rights are allowed to execute a custom query.

```

Thanks

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [November 11, 2018, 11:01am UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/7 "2018-11-11T11:01:35Z")

</div>

Sam for Q3, also confirmed, in `tags.js` at:

```auto
            onCreate : function () {
              // ignore "cascade" clicks
              form.disable();
              form.notification = new XWiki.widgets.Notification("Adding tag...", "inprogress");
            },
            onSuccess : function (response) {
              var wrapper = new Element('span');
              wrapper.insert(response.responseText + ' ');
              wrapper.select('.tag-delete').each(this.ajaxTagDelete);
              while (wrapper.childNodes.length > 0) {
                form.up('.tag-add').insert({before : wrapper.firstChild});
                form.up('.tag-add').insert({before : ' '});
                wrapper.removeChild(wrapper.firstChild);
              }
              form.reset();
            }.bind(this),
            onFailure : function (response) {
              new XWiki.widgets.Notification(response.responseText || 'Server not responding', "error");
            },

```

Could you create another jira issue at [XWiki Platform - XWiki.org JIRA](http://jira.xwiki.org/projects/XWIKI/summary) ?

Thanks

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [November 11, 2018, 11:04am UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/8 "2018-11-11T11:04:04Z")

</div>

> [@xrichard](#):
>
> **Q2 “Notification email footer”**
> 
> I can not find the following strings in weblate neither (I want to improve it and as far as I understand it may be part of the new notification extension?)

This message is generated by SharePage.xml which contains the various translations.

I don’t see it in [XWiki Standard @ Weblate XWiki.org](https://l10n.xwiki.org/component-list/xwiki-standard/) so it’s probably missing. Could you also raise an issue for l10n this time, in [Loading...](https://jira.xwiki.org/issues/?jql=project%20%3D%20XINFRA%20AND%20component%20%3D%20l10n.xwiki.org) ? Thanks

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [November 11, 2018, 11:07am UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/9 "2018-11-11T11:07:37Z")

</div>

> [@xrichard](#):
>
> Q1 “autosave”

Confirmed too, in `autosave.js` at:

```auto
    var autosaveLabel = new Element('label', {'class': 'autosave', 'for' : "doAutosave"});
    autosaveLabel.appendChild(this.autosaveCheckbox);
    autosaveLabel.appendChild(document.createTextNode(" Autosave"));
    var frequencyLabel = new Element('label', {'class': 'frequency'});
    frequencyLabel.appendChild(document.createTextNode("every "));
    frequencyLabel.appendChild(this.autosaveInput);
    this.timeUnit = new Element('span');
    this.setTimeUnit();
    frequencyLabel.appendChild(document.createTextNode(" "));
    frequencyLabel.appendChild(this.timeUnit);

```

Could you also create a jira issue for it at [XWiki Platform - XWiki.org JIRA](http://jira.xwiki.org/projects/XWIKI/summary) ?

Thanks

---

<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, 3:12pm UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/10 "2018-11-11T15:12:05Z")

</div>

Thanks for all your confirmations. Bugs have been opened in Jira (see list below) with links to this post + extract of the code you have provided.

**Q1 “autosave”** =\> Jira bug created (need change in source code) see [Loading...](https://jira.xwiki.org/browse/XWIKI-15845)

**Q2 “Notification email footer”** =\> Jira bug created (need changes in weblate settings) see [Loading...](https://jira.xwiki.org/browse/XWIKI-15844) / moved to [Loading...](https://jira.xwiki.org/browse/XINFRA-271)

**Q3 “Adding tag”** =\> Jira bug created (need change in source code) see [Loading...](https://jira.xwiki.org/browse/XWIKI-15843)

**Q4 “Admin: Solr triggered task”** =\> Jira bug created (need change in source code) see [Loading...](https://jira.xwiki.org/browse/XWIKI-15842)

Waiting for next bugfixingday 🤗.

**Note: issues reported above were reported with priority in mind Q1 (high) \> Q2 \> Q3 \> Q4 (low)**.

---

<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 26, 2018, 10:29pm UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/11 "2018-11-26T22:29:16Z")

</div>

Some of the above Jira issues are already closed and will be fixed in next Xwiki release, thanks to devs 👍.

I will come here to update status for each issue when I will be able to confirm they are really solved (after myxwiki update).

---

<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:** [December 2, 2018, 10:44am UTC](https://forum.xwiki.org/t/are-these-strings-translatable-or-not/3895/12 "2018-12-02T10:44:15Z")

</div>

Quick update …

> [@xrichard](#):
>
> **Q1 “autosave”** =\> Jira bug created (need change in source code) see [Loading...](https://jira.xwiki.org/browse/XWIKI-15845)

**=\> FIXED thanks!**

> [@xrichard](#):
>
> **Q2 “Notification email footer”** =\> Jira bug created (need changes in weblate settings) see [Loading...](https://jira.xwiki.org/browse/XWIKI-15844) / moved to [Loading...](https://jira.xwiki.org/browse/XINFRA-271)

**=\> still OPENED (work to be done before adding resource file to Weblate).**

> [@xrichard](#):
>
> **Q3 “Adding tag”** =\> Jira bug created (need change in source code) see [Loading...](https://jira.xwiki.org/browse/XWIKI-15843)

**=\> FIXED thanks!**

> [@xrichard](#):
>
> **Q4 “Admin: Solr triggered task”** =\> Jira bug created (need change in source code) see [Loading...](https://jira.xwiki.org/browse/XWIKI-15842)

**=\> FIXED thanks!**
