Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need to create a special form for my website where users cand specify a series of data including some textfields, combo boxes and sliders (from 0 to 100). Also I need this form to be qTranslate compatible, for my website is multilingual.

What would be the easiest, cheapest approach for this?

I tried the lite version of Ninja Forms plugin but it offers very few form element types.

I also started creating my own template with the form elements but I don't know how to make it work with qTranslate. And I'm thinking this solution is maybe reinventing the wheel and there's a fastest approach than programming it myself.

share|improve this question
1  
Note, plugin/theme recommendations are off topic here. –  toscho May 5 '13 at 7:34
    
I do not necessarily request a plugin or theme recommendation. –  MichelReap May 5 '13 at 7:46
    
Could you try to make your question more specific? –  toscho May 5 '13 at 13:38

1 Answer 1

up vote 2 down vote accepted

What would be the easiest, cheapest approach for this?

Simple, create one form per language.

In functions.php or, preferably, as a custom plugin:

add_shortcode( 'my-lingo-form', 'shortcode_wpse_98360');
function shortcode_wpse_98360()
{
    $lingo = your_language_detection_method();
    switch( $lingo )
    {
        case 'en':
            echo do_shortcode('[form-en]');
        break;
        default:
            echo do_shortcode('[form-other-languages]');
        break;
    }
}

In your post or page: [my-lingo-form].

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.