Question: Regex Validation With Unicode

Regex Validation With Unicode

We trying to translate SMA PSM to Mongolian language and we having problem with it. I could not add UNICODE. and then I have edited validation and it started accepting unicode. But When i n

C

CptSilent

Asked

We trying to translate SMA PSM to Mongolian language and we having problem with it. I could not add UNICODE. and then I have edited validation and it started accepting unicode. But When i need to choose category unit measure etc it won’t show up. because value is unicode А-Яа-яӨҮ those should be accepted. Please help

  • MS

    Mian Saleem

    Answered

    Hello,

    SMA uses utf8 encoding and alpha_dash & alpha_numeric_spaces validations for names and slugs. If you need, you can remove the validations.

    For language files utf8 encoding is used and your language should be encoded in urf8 too. The only issue with language translation is to not use ' & " but use html entities ' & " instead.

    Thank you

  • C

    CptSilent

    Answered

    How can i remove encoding validation. If you need URL and or cpanel account i can provide.

  • MS

    Mian Saleem

    Answered

    Hello,

    There is no option to remove encoding. By validation I mean the form validation. You can search the alpha_dash in the app/controllers/admin/ folder to know where this validation is used.

    Thank you

  • JS

    Jenah Smith

    Answered

    Mian Saleem When I try to edit customer info then shows error “form validation other validation” Help me to solve the issues Thanks

  • MS

    Mian Saleem

    Answered

    Jenah Smith Please ask new question with details. Thanks

  • Login to Reply