Support Forums - Classified Ads Script Osclass

General osclass questions => General discussion => Topic started by: Youness Ouchene on March 07, 2025, 02:09:54 PM

Title: How to Translate Title and Description Based on Site Language
Post by: Youness Ouchene on March 07, 2025, 02:09:54 PM
Hello,

I am using Osclass and I would like to know how to translate the Page Title and Page Description based on the language the user is browsing the site in. Currently, the title and description are displayed statically, but I want them to change according to the selected language.

For example:

If the user is browsing the site in Arabic, the title and description should appear in Arabic.
If the user is browsing the site in French, the title and description should appear in French.
And for any other language, the title and description should be shown in that language.
Can I translate these fields by adding translations in the theme's translation file or in the site settings? What is the best way to ensure the title and description are shown in the appropriate language?
Title: Re: How to Translate Title and Description Based on Site Language
Post by: MB Themes on March 07, 2025, 04:22:04 PM
Not possible.
You need seo plugin or customization.
Title: Re: How to Translate Title and Description Based on Site Language
Post by: Youness Ouchene on March 07, 2025, 06:38:43 PM
All in one SEO plugin or SEO pro plugin
Title: Re: How to Translate Title and Description Based on Site Language
Post by: MB Themes on March 10, 2025, 03:31:20 PM
Any plugin will work, one or another.
Title: Re: How to Translate Title and Description Based on Site Language
Post by: Youness Ouchene on March 11, 2025, 05:24:55 AM
Where can I find the code and modify it to fix the problem?