Jump to content
DevFuse Forums

Mr_Dude

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Mr_Dude

  1. 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}}

     

×
×
  • Create New...