CalderaWP / cf-translate

Translate Caldera Forms fields.
https://calderaforms.com/doc/caldera-forms-translation-getting-started/
GNU General Public License v2.0
0 stars 1 forks source link

Switch language via multi-lingual plugins #13

Open Shelob9 opened 7 years ago

Shelob9 commented 7 years ago
khaledsawwaf commented 7 years ago

Hello, Is there any update on this? or estimated time for it? Regards.

qwealthreport commented 7 years ago

Dear Sirs:

We really REALLY need WPML support. I have a client site all set in WPML and multilingual but cannot successfully translate the questionnaire form created with Caldera. I can add the translations but if you ever 'Save the form' again they are all lost and you start out from scratch again. Very frustrating! The client really wants the form to be multilingual.

Please update on the timeline for adding WPML integration. That would really improve the product. I would volunteer to be a beta tester...

Regards,

Frederick

Shelob9 commented 7 years ago

WPML support added via ea031f5

naxiand commented 6 years ago

Is there any update on this? I have latest wordpress, latest caldera and wmpl version and doesn't work. I open the form using the build in modal feature of caldera ....... I have more than 20 forms very frustrating ....... For a popular form plugin i was expecting to be wpml compatible..... Is there an ETA on fixing this? I have custom style also all these forms that is not an option now to change to another form builder

I have add this fuction to my child theme no luck. add_filter( 'cf_translate_get_current_language', function( $lang ){ return apply_filters( 'wpml_current_language', NULL ); });

sam-moreton commented 6 years ago

I'm in the same predicament as @naxiand ... will this be fixed soon? I have 9 forms that need translating into 3 languages with WPML

srdjan-jcc commented 5 years ago

https://github.com/CalderaWP/cf-translate/blob/e62863c8b6994f43650168e3d49edf539a404d19/cf-translate.php#L91

This filter is added for WPML compatibility but not needed because WPML already filters get_locale(). It breaks existing translations because returning wrong format. Language code should not be used as return value.

I suggest removing this filter completely.