Hi.
I'm trying to translate some user-defined menu items (created with "Add link" in the menu admin page). The menu is set to "Translate and Localize". When I edit that item's translation through the "Translate" tab, I get the following message (in a green box!) upon showing the translate form (admin/structure/menu/item/994/translate/fr):
- Created string menu:item:994:title for text group menu: Login
- Cannot delete string, not found menu:item:994:description for text group menu: [empty string]
and also the following message (also in a green box) upon saving it (admin/structure/menu/item/994/translate):
- Cannot delete string, not found menu:item:994:description for text group menu: [empty string]
- Translations saved.
Despite saying that the translation was saved, it's obviously not because the translation table for that menu item still shows the untranslated string (with "translated" status, surprisingly).
I also tried to translate these menu items using the global "Translate interface" facility (in the global Configuration page at admin/config/regional/translate/translate). There, it looks like the translation is saved, but the untranslated string still shows up when displaying the menu.
I tried clearing the cache (both from Drupal's admin page and manually in the database). I also refreshed translatable strings but the problem sticks.
I know that there are already a few issues on this subject so it may look like a duplicate but, after reviewing these, this one seems a bit different.
Comments
Comment #1
mesr01 commentedOn second thought, this is a better title.
Comment #2
mesr01 commentedCorrected typo in title.
Comment #3
jbeall commentedI get a very similar behavior when trying to translate blocks. I go to the block configuration, check "Make this block translatable" and check the languages to show the block for, and hit "Save and translate."
I am then taking to the screen where you can see the different translations that have been setup. There is the "original" and then all other languages show as "not translated." If I click "translate" on one of those "not translated" items, I get:
However, I'm provided a textbox to enter a translation. If I do so, and click "Save translation" am get:
But the block still shows the original, not the translation (regardless of the user's active language), and the status remains "not translated."
This is similar enough to the issue described here that I think it's related, and I'm posting this comment in the hope that it will be useful to developers trying to figure out what's going on here.
I am using 7.x-1.2 of the i18n module.
-Josh
Comment #4
Ilbaboomba commentedI get the same problem!
I'm using 7.x-1.2 version...
Comment #5
david.gil commentedMe too, also in the dev branch on 19 Dec...
Comment #6
workonwomen commentedSame issue!
In green box:
"Cannot delete string, not found menu:item:989:description for text group menu: [empty string]
Translations saved."
And did the same as the first poster..., but every module has the latest version.
Comment #7
workonwomen commentedRemained at the:
"Translate and Localize. Menu items with language will allow translations. Menu items without language will be localized."
Made a try and have choosen a language for the menuitem instead of language neutral which was localized but not working...
After translation this creates it's own menu item for each of the languages and creates a translation set.
Now the issue is that all three menuitem appears... (the stored link is by the way guestbook)
Made also a try with the option three for the menu
"Fixed Language. Menu items will have a global language and they will only show up for pages in that language."
But this showed up also everywhere... so unusable in every case!
Comment #8
workonwomen commentedi18 module works fine!
The problem was with superfish
http://drupal.org/node/1381542
Comment #9
c4rl commentedI have found that with blocks, if the block title is provided by another module (like menu blocks and view blocks) that the title needs to be specified in the block administrative page (as if one was overriding the title) in order to provide a translation.
I'm not sure how this affects the issue at hand, that is, whether the i18n module should be responsible for delegating translation between modules that provide title override capability.
Comment #10
jose reyero commentedSome menus that are displayed differently by some themes or using modules like superfish are just not translated.
@mesr01
Is your case the same as #8 ?
If not, does the issue happen when using standard (Drupal core) themes? And when displaying the menu in a regular block?
Comment #11
mesr01 commentedNot exactly, and I still get the error messages from time to time (mainly with taxonomy terms) but, since v1.2, I'm always able to work around the problem by refreshing the string db and translating these strings with the "Translate interface" facility, so I didn't investigate it further.
Comment #12
jose reyero commentedOk, closing then