ACF fields are not being displayed on translated pages when using Polylang - wordpress

I have a simple website build with ACF (free version). I have just some text fields. Now I want to have that website available in multiple languages, so I installed and set up the Polylang Plugin. But when I create the translated pages, my ACF fields simply are not being displayed in the CMS, so basically, when the fields don't show up, I also can't enter my translated contents.
I googled this issue but don't seem to find another person who had the same problem. Can anyone help me what setting I have to change to also have my acf fields be duplicated for the polylang to work?

Related

WordPress - translations not appended even strings are edited

Well after 5 days of trying to find solution, I think I need WordPress magician to help me solve this.
I am translating my WordPress site. So far I have translated over 80% of the content mainly accessing .po files via server or by using LocoTranslate
I have troubles with translating some specific content on the page:
When accessing Products section in WordPress Dashboard I can see that even the settings are translated (to Danish) but some content of the same product page are not.
Image Of PRODUCT page:
What I have tried so far:
Checked all In Stock strings via LocoTranslate plugin (for main theme po file and plugins file) and all are translated to Danish.
I changed Main language in General WP Settings
Tried TranslatePress plugin, and when accessing the page via it, it does not offer an option to translate In Stock part. Evan tough it offers an option to translate action button and I did that.
As I can see on the editing page In Stock is clearly part:
Product settings on Dashboard
This means "In Stock" and even here is translated, too.
Note: When refreshing the page the translation is seen for a part of a second for the BUTTON, then it changes back to English.
Well, I am desperate. Can someone offer some other solution how I can fix this?

Language translation in wordpress

Two buttons are there Hindi and English(these are two different categories).
And created one post and content is "How are you?".
When I click the button "Hindi", I need to display this post as in Hindi and When I click the button "English", I need to display this post as in English.
Is this possible to do?
I see you are using categories for translation but the better way to use some plugin for translation.
Here is the one i have recently used. Using this plugin you can add the language you want.
Check the plugin it might be helpful for you.
Plugin : Polylang
Add language : https://www.screencast.com/t/KdQiqqqES
Add page content in different language : https://www.screencast.com/t/JuEbga8eIE
This plugin won't do automatic translation, you have to add the translated content in admin panel which is best way to describe things in your words, Such plugin are used to avoid any mistakes of translation which automated translation plugin do.
The above answer also good but
if you translate just one language to another then you should use this plugin
https://wordpress.org/plugins/gtranslate/
Step 1 go to plugin area add new plugin into search tab paste plugin name Translate WordPress with GTranslate and it will search for you Translate WordPress with GTranslate plugin
Step 2 click to install button then activate the plugin
step 3 go to WordPress setting and click on GTranslate menu
step 4 then pick which language you want to show like Hindi and English
Step 5 the choose where you would like to show language translated options
and then save it
check screenshots
back end
front end

How to make qTranslate supports Custom Fileds or Meta Box?

I am developing a multilingual website and this site is build with many custom post types and custom fields, I'm using Meta Box and qTranslate, but it didn't work.
Can you help me?
Try word press plugin ACF q Translate which support multilingual custom field with provides compatible field types for Text, Text Area, WYSIWYG, Image and File.

Advanced Custom Fields on WPML translations not saving

On a page/post I can copy the Advanced Custom Fields with content to the translated page but when I edit the translated page it always gets overwritten by the Advanced Custom Fields content from the default language page.
Trying to achieve:
I need to copy content with Custom Fields from a default language post to a translated language post, and then edit each language's content independently.
On every other project it just works fine that way…
I've already tried:
Solving some database errors - no success
Changing the execution order for WPML and ACF - no success
Deleting WPML completely and deactivating ACF and all other plugins.
then install WPML first and activate ACF again - no success.
Tried every possible combination of settings in both plugins available -
no success
After setting “translate” for “field groups” and “do nothing” for “fields” at WPML options. I can now create independent custom fields for the translation with independent field_names. Saving here works, but I can't copy content from the default page to translated page. So this is a partial success
Next Steps
Downgrade ACF to an earlier version.
Same as step three from above but instead of reinstalling WPML, i reinstall ACF and activate it first of all.
versions:
wpml: 3.1.7.2
acf: 5.0.9
wordpress: 4.0
I've also posted this issue in the acf support forum.
If anybody also has this issue, I was able to solve it after talking to a developer at ACF.
Here is how: http://www.advancedcustomfields.com/resources/multilingual-custom-fields/

Hint for Wordpress Theme

I'm developing a theme for wordpress and would like to know the best way to show highlights on the home page.
Examples:
I thought two ways:
Custom post types -a custom post "highlight" with metabox for image, text and link.
Theme Options - a page with options for each box.
What is the right way?
Neither. What you want can be achieved using either Wordpress' core functions and/or Custom Fields. Consider using Custom Meta Boxes if you have a client that requires a more intuitive setup, or installing something like the Types Plugin to do it for you.
This will allow you to attach your own variables to given Posts/Pages.
To gain access to a post's Custom Fields, click the Screen Options button at the top of the Post Editor to enable Custom Fields.
Personally, I would Enable Support for Thumbnails for your Highlights image, use The Excerpt for your Highlight copy, and use either The Title or a Custom Field for the heading.
This way, you can keep all your eggs in one basket rather than overcomplicating things with Custom Post Types or Theme Options Pages.
Look at the Plugin "Ether Content Builder"
You could use either of the methods you've suggested. In my opinion getting involved with lots of meta boxes on one specific page template for this is a total waste of time - there is only an image, a header and an excerpt linking to a post/page. Three posts (whether custom or not) will handle that with featured image, excerpt and the page/post title.
I also think doing a Custom Post type is too much just for three posts on the homepage. If you go the posts route just create a new post category called Home Highlights and put your three posts in there, pull them in via a custom loop built on WP_Query.
Yes you can go the Theme Options route too. If it's the client updating the site then it can look quite professional this way, I've started using a plugin called Options Tree after it came integrated with Super Skeleton, it makes it very easy to build your custom theme options which work just as well too.
A matter of opinion really, rather than a hard and fast 'this one is definitely better'!

Resources