Multi Language: How To Use A Script? Other Way? - Question | JoomShaper

Multi Language: How To Use A Script? Other Way?

G

Guy

Feature Request 1 year ago

Coventry City Guide <br class="sppb-hidden-xs" />Including <b>Coventry Hotels</b>

When making a website for multiple languages, how can I translate some text dynamically? Example here the word 'Including' is an Englisch word. How can I replace this (whole?) string with a solution that works in several languages? The goal is to create only 1 page instead of creating a page for every language (which is between 80% - 95% the same...) Thanks in advance Guy

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #106740
  1. This kind of question should be asked on forum.joomla.org

  2. In our products / templates we use only Joomla native multilanguage system.

  3. Check also features of that extension: https://regularlabs.com/conditionalcontent

  • it can be used in Joomla Articles, it show content only in specific cases.
  1. For Joomla there is FaLang extension as well.
0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #106672

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. There is no way to translate dynamically. Firstly you need to follow this step then your content has to make by yourself.

https://www.joomshaper.com/blog/step-by-step-tutorial-for-creating-a-multilingual-joomla-site

-Thanks

0
G
Guy
Accepted Answer
1 year ago #106719

"There is no way to translate dynamically." --> it is software! So why not?

Isn't it possible to create something like this:

if language = 'EN' return 'english' endif if language = 'SP' return 'Spanish' endif

and integrate that function GetTranslation(pcCodeLanguage, pcCodeText) somewhere? In a future version? (it would REALLY create a multi-language site)

0