Different languages

Discuss everything related to JavaScript Auto Form Validator. Questions and requests here.

Moderator: alexandrleonenko

eduardo
Newbie
Newbie
Posts: 4
Joined: Feb 21st, '09, 16:28

Different languages

Postby eduardo » Jun 22nd, '09, 13:52

Hi, This script is great but has anybody ever translated the language file to other languages?

administrator
Site Admin
Site Admin
Posts: 6009
Joined: Jan 7th, '09, 23:18
Contact:

Re: Different languages

Postby administrator » Jun 23rd, '09, 18:33

Do you speak about v.1.0.5? Which language do you need?

desoft
Newbie
Newbie
Posts: 3
Joined: Jan 26th, '10, 09:59

Re: Different languages

Postby desoft » Jan 26th, '10, 10:03

Is there any way to use cyrillilc utf-8. I got this message when try to submit.
I got this error:
The <name_a> field must be a text! Please, re-enter

Is there any way to resolve this problem.

administrator
Site Admin
Site Admin
Posts: 6009
Joined: Jan 7th, '09, 23:18
Contact:

Re: Different languages

Postby administrator » Jan 26th, '10, 10:51

When you work with non-english symbols, you have to use "y" (any) instead of "t" (text).
In paid versions ( > 2.0.0) there is already multi-language support (and some embedded localizations),
so if you work with this version, you may add your language: Russian, French etc...

desoft
Newbie
Newbie
Posts: 3
Joined: Jan 26th, '10, 09:59

Re: Different languages

Postby desoft » Jan 26th, '10, 11:13

Thanks, i modified var lwr and upr (add missing utf chars) var in form.script.js and it works.

konradkon
Newbie
Newbie
Posts: 1
Joined: Jul 29th, '10, 12:14

Re: Different languages

Postby konradkon » Jul 29th, '10, 12:33

hello

I got a same problem:

"Is there any way to use cyrillilc utf-8. I got this message when try to submit.
I got this error:
The <name_a> field must be a text! Please, re-enter
"
now I trying use free version of phpDataGrid and must save in db polish words with polish special symbols and validator say: The <name_a> field must be a text! Please, re-enter

You write before: "When you work with non-english symbols, you have to use "y" (any) instead of "t" (text)." but I don't understand what and where change, can You expand this subject

thx for help

administrator
Site Admin
Site Admin
Posts: 6009
Joined: Jan 7th, '09, 23:18
Contact:

Re: Different languages

Postby administrator » Aug 1st, '10, 07:40

You have to add translation into polish for JS AFV, then add appropriate line of code in datagrid.class.php
When I said use Y instead of t, I mean when you define textbox in datagrid for non-english symbols, use "req_type"=>"ry" or "req_type"=>"sy"
because if you define it like "req_type"=>"rt" (text) - it will not work.

jacson33
Newbie
Newbie
Posts: 1
Joined: Mar 12th, '15, 10:26

Re: Different languages

Postby jacson33 » Mar 12th, '15, 10:28

if you work with this version, you may add your language: Russian, Frenc


Return to “JS Auto Form Validator”