Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / [RESOLVED] HOT and NEW change language

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

[RESOLVED] HOT and NEW change language

More
7 years 8 months ago - 7 years 8 months ago #26389 by nocturna
[RESOLVED] HOT and NEW change language was created by nocturna
Hello,

I am using the AdsClarity Gold 1.0.8 template with AdsManager 3.1.11 and Joomla 3.7.4

I have defined and translated in my language (Catalan) the HOT and NEW constants as follows:

HOT = + Vist
NEW = Nou

In principle everything works correctly and in the listing of ads these constants appear correctly translated in my language as can be seen in the following image:



But when performing an ad search the result of the search appears with these constants incorrectly in English as can be seen in this other image:



Even the text of the publication date appears in English (Published on …) instead of appearing in Catalan (Publicat el …)

I do not know why this happens.

How can we solve it?

Thank you very much,

Best regards,

J
Attachments:
Last edit: 7 years 8 months ago by nocturna. Reason: Mark as resolved
More
7 years 8 months ago #26397 by juloaadmin
Replied by juloaadmin on topic HOT and NEW change language
On the page with errors will check if you have errors in the language files (debug language in joomla configuration.
More
7 years 8 months ago #26399 by nocturna
Replied by nocturna on topic HOT and NEW change language
Hello,

I checked this and I get only the following error message:

JROOT/language/ca-ES/ca-ES.lib_joomla.ini: error (s) in line (s) 161, 540

Line 161:

JLIB_DATABASE_ERROR_FUNCTION_FAILED="DB function failed with error number %s <br /><span style="_QQ_"color: red;"_QQ_">%s</span>"

Line 540:

JLIB_INSTALLER_ERROR_DEPRECATED_FORMAT="Deprecated install format (client="_QQ_"both"_QQ_"), use package installer in future."

But I do not understand what relationship he has with the problem.

Regards,

J
More
7 years 8 months ago #26407 by juloaadmin
Replied by juloaadmin on topic HOT and NEW change language
Try to replace by

JLIB_DATABASE_ERROR_FUNCTION_FAILED="DB function failed with error number %s <br /><span style='color: red;'>%s</span>"

And

JLIB_INSTALLER_ERROR_DEPRECATED_FORMAT="Deprecated install format (client='both'), use package installer in future."

These should remove the error.

You don't have any other issue.
If the error still exists. please use the ticket system on joomprod.ocm to share us your website details (ftp, account, etc..) + description and link to this discussion.
More
7 years 8 months ago #26418 by nocturna
Replied by nocturna on topic HOT and NEW change language
Hello,

Thanks for your reply.

I have made the changes you indicated, but the problem persists.

I have sent a ticket with the access data.

Thank you very much,

Regards,

J
More
7 years 8 months ago - 7 years 8 months ago #26426 by loic
Replied by loic on topic HOT and NEW change language
Hello,

In the file 'templates/adsclarity/html/com_adsmanager/result/default_list.php', line 144 and 152 (the line number may vary):
replace :
echo "<div class='newAd'><i class='glyphicon glyphicon-star'></i> <strong>NEW</strong></div>";

and
echo "<i class='glyphicon glyphicon-fire'></i> <strong>HOT</strong>";

By :
echo "<div class='newAd'><i class='glyphicon glyphicon-star'></i> <strong>".JText::_('NEW')."</strong></div>";

and
echo "<i class='glyphicon glyphicon-fire'></i> <strong>".JText::_('HOT')."</strong>";

Best regards.
Last edit: 7 years 8 months ago by loic.
Time to create page: 0.188 seconds
Powered by Kunena Forum