Jump to content
DevFuse Forums

Multilanguage Post!?


Reaper95

Recommended Posts

Hello

I don't know if I'm in the right place, but I'd like to know if it's possible to have a plugin that allows us to have 2 languages on a topic, 

Example on this picture, the English and French tabs would have the same function, title entry, text entry, but duplicate for each of the tabs which allows us to do the same subject in 2 different languages. 

e0cfbba16d03465c2dd6782d59387315.thumb.png.129b2e0e8a6de709d3bd76e460733fb1.png

The language of the topic would be defined according to the language selected on the forum.

I can paid for that type of system! tell me back if you have any questions! thanks!

Edited by Reaper95
Link to comment
Share on other sites

  • 4 months later...
On 3/12/2020 at 10:01 PM, Reaper95 said:

Hello

I don't know if I'm in the right place, but I'd like to know if it's possible to have a plugin that allows us to have 2 languages on a topic, 

Example on this picture, the English and French tabs would have the same function, title entry, text entry, but duplicate for each of the tabs which allows us to do the same subject in 2 different languages. 

e0cfbba16d03465c2dd6782d59387315.thumb.png.129b2e0e8a6de709d3bd76e460733fb1.png

The language of the topic would be defined according to the language selected on the forum.

I can paid for that type of system! tell me back if you have any questions! thanks!

h found this at a forum so you can try something like this in a plug in

{{$lang = \IPS\Member::loggedIn()->language()->short;}}
{{if mb_strpos($lang, 'ru_RU') === 0}}
some html
{{elseif mb_strpos($lang, 'fr_FR') === 0}}
some FR html
... additional 10+ languages
{{else}}
EN content
{{endif}}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...