Firescanner Posted August 30, 2010 Share Posted August 30, 2010 Hi,I'm using Prestashop's build in newsletter block. I've installed the Dutch language pack and the buttons do change, exept for the introduction text:Subscribe to our newseletter to be informed of news and promotionsHow/where to change this text into Dutch?Eric Link to comment Share on other sites More sharing options...
Firescanner Posted August 30, 2010 Author Share Posted August 30, 2010 Does anyone have a solution? Link to comment Share on other sites More sharing options...
rocky Posted August 30, 2010 Share Posted August 30, 2010 I can't find that text in PrestaShop's newsletter module. Can you post a link to your site or a screenshot of what you mean? All newsletter block translations should be in the "prestashop - blocknewsletter" section of the "Modules translations" on the Tools > Translations tab. Link to comment Share on other sites More sharing options...
Firescanner Posted August 31, 2010 Author Share Posted August 31, 2010 Hi, Look at picture..Look at the left side.Nieuwsbrief (Dutch for Newsletter) and the rest is in Englisch..Looked for it in the translation section, but could'nt find it.. Link to comment Share on other sites More sharing options...
rocky Posted August 31, 2010 Share Posted August 31, 2010 That's not what my newsletter block looks like, so it must be modified. What does modules/blocknewsletter/blocknewsletter.tpl look like? Perhaps that string is missing mod='blocknewsletter'. Link to comment Share on other sites More sharing options...
pali Posted April 18, 2011 Share Posted April 18, 2011 I'm having the same problem.I want to change the text into something else.the blocknewsletter.tpl looks like this:<!-- Block Newsletter module--> {l s='Newsletter' mod='blocknewsletter'} {if $msg}{$msg} {/if} <form action="{$base_dir}" method="post"><input type="text" name="email" size="18" value="{if $value}{$value}{else}{l s='your e-mail' mod='blocknewsletter'}{/if}"></p> {l s='Subscribe' mod='blocknewsletter'}{l s='Unsubscribe' mod='blocknewsletter'} <input type="submit" value="ok" class="button_mini" name="submitNewsletter" /> </form> <!-- /Block Newsletter module-->Does anyone know how to fix this? where do I change the text?I presume this is what I have to edit:{if $msg}{$msg} {/if}But I don't know wher ethe $msg variable is hidden.Any help would be much appreciated.Regards,Radu Link to comment Share on other sites More sharing options...
rocky Posted April 18, 2011 Share Posted April 18, 2011 All the messages are in the newsletterRegistration() function of modules/blocknewsletter/blocknewsletter.php. You shouldn't change the code there though. You should simply go to Tools > Translations > Module translations > blocknewsletter and enter translations for the following:Invalid e-mail addressE-mail address not registeredError during unsubscriptionUnsubscription successfulE-mail address already registeredError during subscriptionSubscription successful Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now