ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
German translation for the js validation messages (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: German translation for the js validation messages
#1944
davewolf (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
German translation for the js validation messages 10 Months, 1 Week ago Karma: 0  
First of all thanks for this great component!

Just been playing with the new validation features of 2.3. Looking good so far.

Since my customers aren't English speakers (readers), I quickly hacked the validation messages. Might not be perfect, but it seems to work. The edited file is attached to this message.
I'll try to alter the regex's ($'s and such) as well to get an entirely localized version.

As a suggestion how about putting that stuff in external files and conditionally include them (like with _en suffixes), depending on a language setting (to be added)? Seems to me to be the easiest way to handle translations.


On a sidenote, has anybody a good tutorial on how to do server side validation with this component? Thanks in advance.


Dave
File Attachment:
File Name: validation.zip
File Size: 3622
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1945
GreyHead (Admin)
Admin
Posts: 2809
graph
User Offline Click here to see the profile of this user
Re:German translation for the js validation messag 10 Months, 1 Week ago Karma: 59  
Hi Dave,

Thanks for that, I have a hacked version of 2.3 with pretty much all of the language (front & back-end) pulled out into Joomla 1.0 style define files. I'll make sure that these get added in. I'm hoping that Max will adopt these mods for a future version.

Don't know of any good server-side validation tutorials for ChronoForms - what kind of thing do you have in mind?? Pretty much anything can be done with a little php.

Bob
 
Report to moderator   Logged Logged  
 
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
  The administrator has disabled public write access.
#1946
davewolf (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:German translation for the js validation messag 10 Months, 1 Week ago Karma: 0  
GreyHead wrote:
QUOTE:

Thanks for that, I have a hacked version of 2.3 with pretty much all of the language (front & back-end) pulled out into Joomla 1.0 style define files. I'll make sure that these get added in. I'm hoping that Max will adopt these mods for a future version.

Sounds good. I could do a German translation if there's any demand.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1949
GreyHead (Admin)
Admin
Posts: 2809
graph
User Offline Click here to see the profile of this user
Re:German translation for the js validation messag 10 Months, 1 Week ago Karma: 59  
Hi Dave,

I had a look at your translations and all looks good, but my JavaScript skills aren't good enough to add a language include to the existing files. Maybe someone else knows how to do that?

Bob
 
Report to moderator   Logged Logged  
 
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
  The administrator has disabled public write access.
#1951
admin (Admin)
Admin
Posts: 1570
graphgraph
User Online Now Click here to see the profile of this user
Re:German translation for the js validation messag 10 Months, 1 Week ago Karma: 22  
Thanks Dave, we are planning some changes to JS validation and sure the German translation will be included with someway to choose language at the backend.

Regarding the server side validation, I see some requests for it and so I will try to have a solution soon, but what I have in mind now is that the form action URL should be the same as the form URL, the 2 functions at chronocontact.php will be combined and we will switch the code by checking if this is a submitted form and VALID, if you are in rush then you can try doing this yourself, I am planning to have it but not sure when exactly as there is too many other earlier requests too

Thanks again!!

Max
 
Report to moderator   Logged Logged  
 
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
  The administrator has disabled public write access.
#1954
davewolf (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:German translation for the js validation messag 10 Months, 1 Week ago Karma: 0  
GreyHead wrote:
QUOTE:
I had a look at your translations and all looks good, but my JavaScript skills aren't good enough to add a language include to the existing files. Maybe someone else knows how to do that?

Well, keep it simple.

You could always turn validation.js into validation_js.php, replace the static text messages with variables, put them into include files (one for each language), and include them depending on an additional language setting which would just be another drop down menu in the ChronoForms configuration, nothing too fancy. There you go.

(I'd do it myself, if I had more time at hand right now...)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials