Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Why doesn't Vanilla 2.0.18 RC2 not support non-English Usernames?

edited October 2011 in Vanilla 2.0 - 2.8
Recommended to provide the next version。

Best Answer

  • Options
    SS ✭✭
    Answer ✓
    @cgrealm
    Then make your custom ValidateUsername() function.
    Put in conf/bootstrap.before.php

    This will definitely helps.

Answers

  • Options
    ToddTodd Chief Product Officer Vanilla Staff
    You can download or create locales to support a different language in your forum. You add locales to your forum's /locales directory and enable them in your dashboard under locales just like plugins.
  • Options
    I know but not support search,login
  • Options
    So your locale misses the translations for search and login? Maybe you should edit those files then and add the translations for those items.
    Look in the documentation how to do that.

    There was an error rendering this rich post.

  • Options
    edited October 2011
    NO,
    User name does not support Non-English.
    Developers it will not discriminate Non-English?
  • Options
    UnderDogUnderDog MVP
    edited October 2011
    User name does not support Non-English
    Please explain more what you mean. Try to use complete sentences. If you want to explain it in your own language, that is ok too. Just explain it and let google translate translate it for you. We will understand, no problem.
    If you need to translate things, use thelocales.

    If you want to login, you cannot use chinese and cyrillic letters (I don't know if there are any other types).
    If you want to search in all the discussions, you cannot use chinese and cyrillic letters.
    I don't know how to resolve that problem.

    Maybe you can try things out, but you will have to ask chinese and russian developers. It might be done with setting the character set of the database fields.

    There was an error rendering this rich post.

  • Options
    SS ✭✭
    edited October 2011
    He means that he cannot change name of user to name with national chars, but only English.
    $Configuration['Garden']['User']['ValidationRegex'] = '.+';
    This solve his problem.
  • Options
    Thanks S I didn't realize that.

    There was an error rendering this rich post.

  • Options
    @S
    Yes,But without success.
  • Options
    SS ✭✭
    Answer ✓
    @cgrealm
    Then make your custom ValidateUsername() function.
    Put in conf/bootstrap.before.php

    This will definitely helps.
  • Options
    @S
    Thanks,But I will not do.
  • Options
    This should really be supported by default.

    Even better: each localization gets to specify the range of characters that are vaild for usernames.
Sign In or Register to comment.