Title: Forms Not translated
Last modified: April 25, 2018

---

# Forms Not translated

 *  Resolved [vince123](https://wordpress.org/support/users/vince123/)
 * (@vince123)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/forms-not-translated/)
 * Hi there,
 * Thanks for this amazing plugin, I were using this plugin for a while it was working
   without any problem, I am using this for the Arabic for Arabic the cursor for
   writing has to start from the right side rather than the left side for English
   and the placeholders for each field should be right aligned I used this for 2
   forms and it was working properly but Now added couple of form and found out 
   that it is not working, Please check on my staging [site](http://staging.aybiz.com/)
   to see the difference in which check the on the Add Business form and Edit Business
   form for Add business form it is working properly and for Edit Business it is
   not working.
 * Kind Regards,
    Vince
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fforms-not-translated%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10216210)
 * HI Vince,
 * looks like the plugin is not active your site. did you upgrade to v2? In which
   case the plugin is now dependent on the CF7 Smart Grid-layout plugin (read the
   plugin [main page](https://wordpress.org/plugins/cf7-polylang/) for details.)
 *  Thread Starter [vince123](https://wordpress.org/support/users/vince123/)
 * (@vince123)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10216261)
 * Hi Aurovrata,
 * Thanks for the quick response, the CF7 Smart Grid Design Extension and Contact
   Form 7 Polylang extension are Active on my site.
    Please check the [page](http://staging.aybiz.com/ar/add-business-arabic/)
   in which it is working.
 * Kind Regards,
    Vince
    -  This reply was modified 8 years, 3 months ago by [vince123](https://wordpress.org/support/users/vince123/).
    -  This reply was modified 8 years, 3 months ago by [vince123](https://wordpress.org/support/users/vince123/).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10216346)
 * > Please check the page in which it is working.
 * I just checked the new link and its right aligned for me. I am using Firefox 
   browser. Maybe you need to clear your browser cache?
 *  Thread Starter [vince123](https://wordpress.org/support/users/vince123/)
 * (@vince123)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10216378)
 * Hi Aurovrata,
 * Thanks for the immediate response, the page which I shared latest is right aligned.
 * right aligned [form](http://staging.aybiz.com/ar/add-business-arabic/)
    left 
   aligned [form](http://staging.aybiz.com/ar/edit-business-arabic/)
 * Sorry if I confused you, 1 form is translated and the other is not translated.
   I checked plugins both the Plugins ( CF7 Smart Grid Design Extension, Contact
   Form 7 Polylang extension) are active and up-to-date on my site.
 * Kindly share the solution.
 * Thanks!
    Vince
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10217189)
 * Sorry, my mistake.
 * I looked at both pages and I have to say I was initially rather miffed.
 * The plugin doesn’t apply any css to text alignment, so this is coming form your
   own settings.
 * The fields in both forms are all inheriting text-alignment from the parent <p
   > tag. However, both have input text-align styling applied by the browser to 
   start. The start is a [funny property](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align),
   and inverses the alignment depending on the setting of your text [direction](https://developer.mozilla.org/en-US/docs/Web/CSS/direction).
   This is what put me on the right track.
 * Looking at your direction settings, your original [page](http://staging.aybiz.com/ar/add-business-arabic/)(
   the one that works), the form fields inherits its direction from the cf7 form
   wrapper,
 * `<div role="form" class="wpcf7" id="wpcf7-f559-p526-o6" dir="rtl" style="color:
   inherit;" lang="ar">`
 * while your new [page](http://staging.aybiz.com/ar/edit-business-arabic/) has 
   its direction setting to ltr and language to en-US,
 * `<div role="form" class="wpcf7" id="wpcf7-f2269-p2655-o6" dir="ltr" lang="en-
   US">`
 * so now we have to find why this has changed. I have never done arabic forms, 
   so I am not sure how the direction element is being set. Are you aware of ay 
   specific settings in CF7 to get rtl direction? I would assume that choosing the
   language would be enough do so. How are you building your forms in both cases
   inserting a shortcode in a page or dynamically inserting the shortcode?
 * Tts quite apparent that the cf7 form rendering is not your translated form, so
   I need to know how you’re displaying the form.
 * anyhow, a quick way to resolve this issue is to set the following css rule in
   your stylesheet,
 *     ```
       body:lang(ar) .wpcf7 {
   
           direction: rtl;
   
       }
       ```
   
 * let’s try to find the actual cause.
    -  This reply was modified 8 years, 2 months ago by [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/).
 *  Thread Starter [vince123](https://wordpress.org/support/users/vince123/)
 * (@vince123)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10217336)
 * Hi Aurovrata,
 * Thanks for the great support and I am happy to get a response from a guy like
   you who is having tremendous experience in various technological domains(sorry,
   I did some background research on you)
 * exactly there are no special cf7 settings that allow changing the text-direction
   of a form, The activation of the cf7 polylang extension was the one I did for
   that
    But the direction of the Arabic can be changed by going to Languages > 
   Edit Language and change text direction but it doesn’t have any effect on the
   contact form 7.
 * replacing the English content with the Arabic and also wrapping the content inside
   the form with a <p> tag that is right aligned was sufficient and the CF7 polylang
   extension was changing the text direction and also the aligning the placeholders
   to the right side. But for the forms that I have created after a while wasn’t
   actually giving anything even if I ensured that I’m using them Arabic(not the
   text direction nor placeholders where aligned to right).
 * Thanks again for the support I applied the CSS you shared and it worked in all
   the forms.
 * Kind Regards,
    Vivek Vincent
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10219780)
 * Hi Vivek, thanks for the kind words.
 * > replacing the English content with the Arabic and also wrapping the content
   > inside the form with a <p> tag that is right aligned was sufficient
 * ok, I guessed as much. I have been thinking about this issue, and I have a fair
   idea why it might not be working any more.
 * > I applied the CSS you shared and it worked in all the forms.
 * great, at least you can keep working and the plugin does not block your progress.
 * Currently I am really busy with some other project, so I am not going to treat
   this as priority to fix, but I will explore the plugin and fix this issue once
   I have some spare time. I will keep this issue open till then.
 * PS: do leave a review when you get a chance!
    -  This reply was modified 8 years, 2 months ago by [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/).
    -  This reply was modified 8 years, 2 months ago by [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10230929)
 * HI Vivek,
 * I just release v2.1.4 of the CF7 Smart Grid plugin with a fix for this issue.
 * The language locale was not being picked up properly when new forms were being
   created, I have now fixed this. Can you please update your plugin and create 
   a new Arabic form to be if it is properly translated, and let me know if it works
   for you too?
 * thanks
 *  Thread Starter [vince123](https://wordpress.org/support/users/vince123/)
 * (@vince123)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10230994)
 * Hi Aurovrata,
 * Thanks for the great support. I tested it for an Arabic form and the text direction
   was changed Right to Left, It works fine for me.
    Thanks for all your efforts.
 * Kind Regards
    Vince
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10231008)
 * oh, good. Happy coding!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Forms Not translated’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cf7-polylang.svg)
 * [Contact Form 7 Polylang Module](https://wordpress.org/plugins/cf7-polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-polylang/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/forms-not-translated/#post-10231008)
 * Status: resolved