Download & Extend

My Newsletters button on My Account page not translated

Project:Simplenews
Version:6.x-2.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

When going to the My Account page and edit the personal profile The button to go to the newsletter subscription is not translated. In the database is the correct translation in place for the text 'My newsletters'

(See attached image of screenshot)

AttachmentSizeStatusTest resultOperations
Picture 1.png16.57 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:active» closed (won't fix)

The button is translatable, but the translation is incomplete. Feel free to submit a better or completed translation.
Marking the issue won't fix as I, as module maintainer, am not the one who will provide translations.

#2

I have translated the text via the Translation Interface. But still the English text is shown. Also on the Create Newsletter Content page above the dropdown for selecting the newsletter, the translation is not working. Only the english text is shown.

#3

same problem for me.

#4

Version:6.x-1.0-rc5» 6.x-1.3
Status:closed (won't fix)» needs work

Having the same issue. The translation is set, but being ignored (fr & en site).

Though sometimes I am in the french it shows the english and vice-versa. It seems that it will keep the last translation set after the cache is cleared. This is kinda weird since it is just inside a t() function:

<?php
$output
[] = array(
       
'name' => 'newsletter',                                                                              
       
'title' => t('My newsletters'),
       
'weight' => 10,
       
'access callback' => 'simplenews_subscription_edit_access',                                          
      );

php
?>

I don't think this is a drupal core or menu issue since the rest of my sub-tabs work fine.

#5

Status:needs work» active

Changing the status to "active" as there is no patch needing work on the issue.

@levacjeep, can you help in debugging this issue, as we don't seem to be able to reproduce it easily.

#6

Status:active» postponed (maintainer needs more info)

#7

Same issue and description as levacjeep reported.

  • Translate text - My Newsletter.
  • Switch to site's second language to see if My Newsletter was translated. Non-translated text is still being used.
  • Clear cache while on site's second language - translation appears. But when switching back to site's first language, the translated text still appears - does not revert to the original text.
  • So now, on the site's first language, the translated text appears, clearing the cache will remove the translated text, after which you are back at square one with your translated text not appearing on your site's second language.

#8

#9

I am having the same problem.
The string "My newsletters" is translated with the translation interface, but the string always appears in English on the French and Dutch page.
I even deleted the string and retranslated it.

If I clear the cache in French or Dutch, the string is translated, but remains the same when I change the language again.

I use version Simplenews 6.x-2.0-alpha2.

#10

Version:6.x-1.3» 6.x-2.0-alpha2

the same here,

In this case it is not possible to use it with multilingual sites. Is it possible then to remove theese links from user account? So that user can only subscribe or unsubscribe from a page where is newsletter block placed.

Thank you.

My workaround is following> remove couple lines in simplenews module responsible for displaying the link in user account. This way user will not be able to manage subcriptions from user account. That is enough for my needs.

HoweverIf there is some better solution, I will be glad to hear it.

Good luck

#11

Version:6.x-2.0-alpha2» 6.x-2.x-dev
Status:postponed (maintainer needs more info)» active

#12

I have the same issue and I am wondering if it has something common with translation files.

I have english and polish languages on my drupal site and when I imported simplenews language files I saq that in admin/build/translate I have this information about translated items:

Language Simplenews
English 2/261 (0.77%)
Polish 261/261 (100%)

What is going on, when all texts are english so information about Simplenews translated should be something like Built-in interface (I mean n/a), because they are built-in.

#13

Hi.
I was on D7, and I had basically the same issue as described. Uploaded .po file, which translated nice: 67/67 100%, and selcted the simplenews module radio button, instead of the internal interface one. Then I saw that nothing related to newsletter seemed translated in the site. So I did the same, as before, except I selected to dump inside the internal interface, and now it seems that it works. Hope it can help somebody.

#14

Hi..

I am also facing the same issue. Is there a patch for this? Can anybody help me pls....!

nobody click here