The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
+4
brandon_g
SLGray
Ape
TheCrow
8 posters

    Is there any way to disable other languages?

    teliosmetonma1
    teliosmetonma1
    Forumember


    Posts : 247
    Reputation : 1
    Language : greek

    Solved Is there any way to disable other languages?

    Post by teliosmetonma1 February 2nd 2019, 10:56 am

    Hello, i would like to set default english in my forum and nobody can change to his/her language.

    Is this possible?


    Last edited by teliosmetonma1 on March 3rd 2019, 1:38 pm; edited 1 time in total
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Is there any way to disable other languages?

    Post by TheCrow February 2nd 2019, 11:39 am

    teliosmetonma1 wrote:Hello, i would like to set default english in my forum and nobody can change to his/her language.

    Is this possible?
    Hello,

    Since Google Translator is free provided by google, I'm afraid no. The only thing you could do is remove the field that allows users to change the language from their profiles but I'm not really sure whether it is legal or not.

    Regards.



    Is there any way to disable other languages? Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Is there any way to disable other languages?

    Post by Ape February 2nd 2019, 1:30 pm

    As Thecrow has said already NO sadly there is no way to stop this.



    Is there any way to disable other languages? Left1212Is there any way to disable other languages? Center11Is there any way to disable other languages? Right112
    Is there any way to disable other languages? Ape_b110
    Is there any way to disable other languages? Ape1010
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Is there any way to disable other languages?

    Post by SLGray February 2nd 2019, 8:08 pm

    That options only affects text on the forum, not the text in topics.



    Is there any way to disable other languages? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    teliosmetonma1
    teliosmetonma1
    Forumember


    Posts : 247
    Reputation : 1
    Language : greek

    Solved Re: Is there any way to disable other languages?

    Post by teliosmetonma1 February 5th 2019, 6:45 am

    Is there any way to disable other languages? Ice_sc15

    I just want this to be the only language because the others affect my javascript code...
    avatar
    Guest
    Guest


    Solved Re: Is there any way to disable other languages?

    Post by Guest February 5th 2019, 7:21 am

    As you've been told there's no way to do that.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Is there any way to disable other languages?

    Post by SLGray February 5th 2019, 12:15 pm

    Has does it effect your code?



    Is there any way to disable other languages? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    teliosmetonma1
    teliosmetonma1
    Forumember


    Posts : 247
    Reputation : 1
    Language : greek

    Solved Re: Is there any way to disable other languages?

    Post by teliosmetonma1 February 5th 2019, 2:16 pm

    You mean "how"?

    I use this: https://help.forumotion.com/t148708-topic

    thats how.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Is there any way to disable other languages?

    Post by Ape February 5th 2019, 2:30 pm

    Sadly there is still NO way to stop members using other languages.



    Is there any way to disable other languages? Left1212Is there any way to disable other languages? Center11Is there any way to disable other languages? Right112
    Is there any way to disable other languages? Ape_b110
    Is there any way to disable other languages? Ape1010
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    Solved Re: Is there any way to disable other languages?

    Post by brandon_g February 5th 2019, 5:23 pm

    That feature just changes the language for the user who is viewing the forum, it does not change it for every user. Can you explain exactly what your code does and how the language being change breaks the code?

    Also, bare in mind that even if there was a way to disable the language as you want to (there is not), they could simply use a translator such as google translate to change the language to their own anyway.



    Is there any way to disable other languages? Brando10
    Remember to mark your topic Is there any way to disable other languages? Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

    Is there any way to disable other languages? Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points
    avatar
    Guest
    Guest


    Solved Re: Is there any way to disable other languages?

    Post by Guest February 6th 2019, 7:27 am

    Hello,

    Please don't forget to click the Is there any way to disable other languages? 9608d5eb265c3d9bc68f983e2141710d button at the very beginning of this very topic if in fact your doubt is solved!

    Best regards.
    Samuel796
    Samuel796
    New Member


    Posts : 1
    Reputation : 1
    Language : English

    Solved Re: Is there any way to disable other languages?

    Post by Samuel796 February 7th 2019, 11:31 am

    Is there any easier way of disabling content by language error for a specific language, while showing the actual page on other languages link removed by skouliki
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Is there any way to disable other languages?

    Post by skouliki February 7th 2019, 11:57 am

    Samuel796 wrote:Is there any easier way of disabling content by language error for a specific language, while showing the actual page on other languages link removed by skouliki

    hello

    please avoid sharing links of any other website as this is considered spam/advertising
    if you need help you can open your own thread

    avatar
    Guest
    Guest


    Solved Re: Is there any way to disable other languages?

    Post by Guest February 13th 2019, 4:21 pm

    @Hampton987, you should probably reread the topic.

    The field from the profile can be hidden through css or removed through javascript. It might be removable from the templates as well but I'm not sure if we have access to the needed templates to do that. Problem is, a user that knows Javascript can craft a request that would change the language no matter what you do. Most users dont know how to do that though. I can give you the code that removes that field if you want.
    teliosmetonma1
    teliosmetonma1
    Forumember


    Posts : 247
    Reputation : 1
    Language : greek

    Solved Re: Is there any way to disable other languages?

    Post by teliosmetonma1 March 2nd 2019, 1:08 pm

    Yes i would like please
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Is there any way to disable other languages?

    Post by _Twisted_Mods_ March 2nd 2019, 1:20 pm

    one issue with this if you hide or remove the area the users that have already changed it will be stuck like that .. if it was me i would add a disabled attribute and set the value to english so they are all forced to save it as english

    this is how i would do it

    Code:

    $(function(){
    $('select[name="language"]').val('en');
    $('select[name="language"]').attr('disabled',true);
    $('select[name="language"]').attr('style','background-color: #8e8e8e;color: #b7b7b7;font-style: italic;');
    $('select[name="language"]').parent().append('<span>Disabled</span>');
    });
    teliosmetonma1
    teliosmetonma1
    Forumember


    Posts : 247
    Reputation : 1
    Language : greek

    Solved Re: Is there any way to disable other languages?

    Post by teliosmetonma1 March 3rd 2019, 1:38 pm

    Thank you my friend!

    SOLVED
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Is there any way to disable other languages?

    Post by skouliki March 3rd 2019, 2:38 pm

    thank you @_Twisted_Mods_ for your help

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules


      Current date/time is November 13th 2024, 7:11 pm