×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Translate Subscribe - how?

Translate Subscribe - how? 10 years 7 months ago #22668

  • Astrid Pedersen
  • Astrid Pedersen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi,

I want the Subscribe button to say "Send" instead of "Subscribe". I could not change it in MailChimp, I could only change the default values for Email Address etc.

I tried creating a Danish language file (da-DK.com_cmc.ini) for CMC, then making a translation of MOD_CMC_SUBSCRIBE. I also pasted this translation into the general Danish language files. This didn't work.

When I replace

<input type="submit" class="button btn btn-primary" value="<?php echo JText::_('MOD_CMC_SUBSCRIBE'); ?>"
with

<input type="submit" class="button btn btn-primary" value="Send"

in default.php, it works fine, but I may want to have more languages at some point, so it is kind of a taggy solution ...

Anyone?

Translate Subscribe - how? 10 years 7 months ago #22670

  • Astrid Pedersen
  • Astrid Pedersen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Found it! i had the wrong language file - it should be mod instead of com.
  • Page:
  • 1
Time to create page: 0.098 seconds