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 / Multilanguage Info

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.

Multilanguage Info

More
11 years 2 months ago #13652 by fabioweb
Multilanguage Info was created by fabioweb
Hello!
I have a one million dollar question.
I have website in two languages: Italian and english

If a user insert an ad in italian how can be translated also in english?
I have to use multilanguage tag during write ad?

Thank you
More
11 years 2 months ago #13710 by tompap
Replied by tompap on topic Multilanguage Info
Hello,

There is no way currently for a user to do that, only using falang you can do the translation in the backend (admin)
If you want to do the translation (I mean text field, textarea)
you need to create X fields for X languages (for the same field)
then add some php code in your template to display the correct value based on the language.

FrontEnd translation by user is something we can also develop, if you want a quote for it !

for all other fields (like dropdown etc..) you can put the label/value like ADSMANAGER_MY_VALUE and add the define in your language file
More
11 years 2 months ago - 11 years 2 months ago #13714 by raph17
Replied by raph17 on topic Multilanguage Info
I used ADSMANAGER_xxxx TRANSLATION FOR CATEGORIES but i have a problem.
On frontend i see the string translated but in url i see only string,not the translation.

I have ADSMANAGER_AUTOMOBILE (AUTOMOBILE)
The url is adsmanager-automobile instead of automobile.
Last edit: 11 years 2 months ago by raph17.
More
11 years 2 months ago #13725 by tompap
Replied by tompap on topic Multilanguage Info
Oh check in router.php, when we add the category name;
Check if we do a $cat->name or JText::_($cat-name);

We should have JText (I am not in front of a developpment desktop I cannot check it right now)
More
11 years 2 months ago - 11 years 2 months ago #13733 by raph17
Replied by raph17 on topic Multilanguage Info
Didnt find it in router.php

case "details":
					if (isset($query["catid"])) {
						$segments[] = getAdsmanagerRouteCategory($query["catid"]);
						$segments[] = JText::_($cat-name);
						unset($query["catid"]);
					}
					$segments[] = $query["id"]."-".getAdsmanagerRouteContent($query["id"])."-".getAdsmanagerRouteCarmodel($query["id"]);
					unset($query["id"]);


I modified like this and added the
$segments[] = JText::_($cat-name);
and still dont work.
Last edit: 11 years 2 months ago by raph17.
More
11 years 2 months ago #13744 by raph17
Replied by raph17 on topic Multilanguage Info
How can i remove the category id from details view and let only remaining the menu item name?
Time to create page: 0.064 seconds
Powered by Kunena Forum