EN Translation file error

  • Paul Adamson
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 weeks 1 day ago #122992 by Paul Adamson
EN Translation file error was created by Paul Adamson
Hi Tuan, I changed one of the language strings using the OSM Translations section in the admin, which I have done before, and got a state where a lot of the strings stopped being translated. I looked at the differences between the previous and current extension versions and saw a handful of new strings have been added.

This string is causing problems when I make an edit through OSM admin:
OSM_SUBSCRIBERS_FILE_EXPLAIN="Please choose the file (CSV, XLS or XLSX) contains subscribers which you want to import. Please <a href="index.php?option=com_osmembership&task=subscriber.csv_import_template"><strong>click here</strong></a> to download Import Template. Please read a href='http://membershipprodoc.joomservices.com/subscriptions-management/import-subscribers' target="

I escaped the double quotes like this and now everything works ok:
OSM_SUBSCRIBERS_FILE_EXPLAIN="Please choose the file (CSV, XLS or XLSX) contains subscribers which you want to import. Please <a href=\"index.php?option=com_osmembership&task=subscriber.csv_import_template\"><strong>click here</strong></a> to download Import Template. Please read a href='http://membershipprodoc.joomservices.com/subscriptions-management/import-subscribers' target="

Cheers
Paul

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
2 weeks 1 day ago #123003 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EN Translation file error
Thanks Paul for reporting. I will try to check to see why backend translation cause that issue and get it sorted

Regards,

Tuan

Please Log in or Create an account to join the conversation.