[Plugin: Fast and Secure Contact Form] Arabic translation RTL Languages support patch
-
Dear Michael,
First of all I’d like to thank you for this very useful contact form. Great work ??
I have made Arabic translation for the latest pot file from the FAQ page, hopefully for inclusion in the next release.
You can download the .po and .mo files here:
https://sites.google.com/site/geekgirljas/config/pagetemplates/misc-files/si-contact-form-ar.po?attredirects=0&d=1
https://sites.google.com/site/geekgirljas/config/pagetemplates/misc-files/si-contact-form-ar.mo?attredirects=0&d=1Also, I made a preliminary patch to detect the installation’s locale text_direction (LTR or RTL), which sets all the align/float in CSS markup of the plugin accordingly, both for proper admin settings page display and for all the other CSS style options.
The default behavior remains LTR if text_direction could not be detected (for backwards compatibility), but it should work on all recent version.
You can download it here:
https://sites.google.com/site/geekgirljas/config/pagetemplates/misc-files/si-contact-form_text_dir.patch?attredirects=0&d=1This could be further improved in the future by separating the plugin’s code from CSS styles, and using wp_enqueue_style(), as outlined in my comments in the patch file.
N.B.: For those with a Language/Locale that is Right-To-Left based:
Please note that applying this patch to a previously installed SI-Contact-Form plugin will not change the CSS defaults in advanced options, as they are saved in the database after viewing the plugin’s settings page for the first time (see function si_contact_get_options).
Simply deleting the row with the name column “si_contact_form” from the wp_options table will reset this, and the CSS will then automatically reflect proper align/float alignment – according to your locale’s RTL text direction.Cheers,
Jas
- The topic ‘[Plugin: Fast and Secure Contact Form] Arabic translation RTL Languages support patch’ is closed to new replies.