-
AuthorPosts
-
December 22nd, 2016 at 20:02 #41469
Firstly, thank you for the amazing free theme!
I’m trying to build a multi-language website by using Fluida, but seems Polylang can not translate the static home page. Different languages interfere each other.
What can I do to config different homepage for each language?
Thank you!December 27th, 2016 at 16:50 #41522ZedCryout Creations mastermindAre you using the theme’s landing page or a static page for your homepage?
Latest versions of Fluida fully support Polylang for multilanguage sites including for the landing page elements. You’ll need to use the Strings feature for input fields and define multi-language versions for elements that use posts/pages.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.December 30th, 2016 at 12:15 #41580Hi there! in the strings tab I do not see the pages that I have shown on the landing page. I also do not see an option/button to import them. Several alements, like header title and some other small elements are shown and being translated, but not the pages with their content. Is there an option to make them show up on the string tab?
Many thanks!
January 2nd, 2017 at 12:19 #41636ZedCryout Creations mastermindThe strings feature is intended for the single line of text fields that are present in the theme.
Posts and pages are handled directly by Polylang as you can create separate instances of each post/page for each language.If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.April 11th, 2017 at 17:06 #43882Hello,
Thank you for your theme.
I had a similar problem. With Polylang, my pages selected in Featured Icon Blocks stay in french instead of the same instance in english.
I resolved it by replacing in /includes/landing-page.php in function fluida_ipblocks() :
$page = get_post( $pageid );
byif ( function_exists( 'pll_get_post' ) ) { $page = get_post( pll_get_post($pageid, get_locale())); } else { $page = get_post( $pageid ); }
Surely there is a better solution but in the meantime, it may help someone else…
Website: www.simplissite.com/traduction-de-page-daccueil-theme-fluida
April 27th, 2017 at 19:30 #44395ZedCryout Creations mastermind@Simplissite, thanks for pointing out where the problem lies.
This is a good workaround, however it is plugin-specific and would leave multilanguage functionality unusable with any other plugin that works in a similar way with Polylang but uses a differently named function.
We’ll keep looking for a solution that works with all plugins and doesn’t require workarounds with specific function calls.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.May 14th, 2017 at 21:12 #45018Hi,
Same problem with the Text Areas (Fluida landing page): no translation.
The workaround provided by Simplissite works, same way.But I experience another problem with the media headers : the header-image-main-inside div is empty for secondary languages. It works with a fixed image but doesn’t work with the random header download option.
June 7th, 2017 at 08:33 #46577@simplissite thanks for posting this workaround, i have one more question if you can help – Text inside fetured blocks is translated but heading of text is still in original language.
June 13th, 2017 at 21:03 #47146ZedCryout Creations mastermind@thfrn, do the separate language variations of the posts/pages all have the same featured image set?
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.June 14th, 2017 at 00:07 #47200@Zed Hi, I don’t use the featured images for the headers but the ones uploaded in customizer > Site Identity > media headers (with random option).
Anyway, as I don’t need different versions of the media I just had to activate an option within the settings of Polylang to make in work:
Languages > Settings > Media > Activate Languages and translations for media
https://polylang.pro/doc/working-with-media/August 10th, 2017 at 17:03 #51700@simplissite I have the same issue as @thfrn: your workaround works well for the featured icon block text but not the titles. Do you have a solution for that as well? Thanks!
August 28th, 2017 at 16:34 #52888Hi @cicero,
With the last version of Fluida, the code I use is :if ( function_exists( 'pll_get_post' ) ) { $page = get_post( pll_get_post($pageid, get_locale())); $pageid = pll_get_post($pageid, get_locale()); } else { $page = get_post( $pageid ); }
Maybe it will resolve for the title.
Website: www.simplissite.com/traduction-de-page-daccueil-theme-fluida
August 30th, 2017 at 23:59 #53018Hi,
I have used the code and now the texts of the icons and the title in the featured boxes are showing in the selected language. However, the posts displayed are only in English while the language selected is Spanish.
Is there a way to fix it?
website: http://www.shereypaul.es/
Website: www.shereypaul.es
September 26th, 2017 at 14:26 #54385ZedCryout Creations mastermindHello everyone!
We’re giving a kick at solving the problem with landing page content not retrieving the correct language titles/texts with Polylang (and WPML). Things are working fine in our setup but we’d like some real life testing with genuine multi-language sites before pushing this change in all our themes.
We’re doing these tests in our Kahuna theme first so we don’t break properly working sites using the other themes if there are still hiccups. If anyone is willing to do some trial runs, you can grab a copy from the repository.
If you can’t or don’t want to switch themes, a preview in the customizer should be sufficient to check if the correct language is used in the featured blocks, boxes and text areas.
Please let us know how things work out – implementing this in all our themes depends on your feedback.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.November 14th, 2017 at 16:19 #55981Thanks a lot for this workaround! It works great for me on the text areas and the blocks. Nevertheless, I don’t know where to add these lines for the boxes.
Might anyone please so kind to help me with this workaround?
Really nice and beautiful theme, btw…
November 14th, 2017 at 17:24 #55995Oh, and additionally, whenever I press the “read more” button on texts, they bring me to the page in each language. If I press the “read more” buttons in the boxes, they always bring me to the first language sites… If there’d be a workaround, that’d be awesome!
Website: satoris.io
December 24th, 2017 at 14:57 #57601I am unable to use the code you provided to translate the icon blocks. Did something change with the latest update or is this my fault? Maybe you could provide a screenshot of the code area after you’ve copied the code so that I can make sure that I’ve done everything correctly.
Also, are you planning on fixing the problem any time soon or will I have to change themes? I love Fluida so I hope you’ll be able to fix this problem…Thanks in advance 🙂
April 24th, 2018 at 12:31 #62905Hello,
Thank you for your work and beautiful Fluida theme. I have tried the above php code, but I still cannot translate featured icons in the Landing page. I do not use Polylang, but Wp Globus plugin.Website: www.lakes.it
June 6th, 2018 at 06:19 #64615June 10th, 2018 at 16:05 #64801ZedCryout Creations mastermind@Abudi, that is outdated information.
Fluida includes Polylang/WPML support for its landing page elements since version 1.5.2.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.August 26th, 2018 at 22:47 #67653Thank you. It still does not work. I have to look again for feauterd boxes translation.
September 6th, 2018 at 13:19 #67979ZedCryout Creations mastermindThere is currently limited support for multi-language categories in the featured boxes with Polylang. We are looking to find the best way to extend this support.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.January 10th, 2019 at 14:47 #72557NoPlaceLikeOutsidePower UserThis is sort of related I think. If not I will open a new request.
I use Polylang to have my site in two languages. I have two main categories, from which I would like to show the latest post on the landing page.
The problem: Polylang creates different categories (with different slugs) for both languages. If I use the ‘Featured Boxes’ with ‘Boxes Content’ set to ‘All categories’, Polylang filters for bot languages the posts and everything is fine. When I want to show a specific Category however, I have to choose one but than this will be or in Dutch or in English.
I was wondering if the Plus feature ‘Posts Layout and Filtering’ would allow me to still select ‘All categories’ and in the mean time use the plus feature to filter down on a specific category.
Website: noplacelikeoutside.be
March 20th, 2019 at 13:06 #75818This reply is private.March 24th, 2019 at 14:19 #75994ZedCryout Creations mastermind@NoPlaceLikeOutside, category filtering is not currently supported for the featured boxes sections with Polylang or WPML. We are working on a way to implement this, but the theme filters the posts using the category slug, and neither plugin provides an easy way of ‘translating’ this slug.
@Teele, if you mean the text which appears under the site’s title, that tagline is a core WordPress thing and not handled by the theme.
If, instead, you refer to the theme’s landing page slider caption text (which is a copy of the tagline by default), that is also translate-able through the strings feature, but is part of the theme’s strings, not WordPress’.If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.April 16th, 2019 at 11:02 #76839Hi,
I am facing the same or a simliar problem. I am using the septera theme.
I have a German and an English front page with polylang, where Featured Boxes 2 should show posts from a specific category (Projekte for German and Projects for English).
If I selected the category Projekte in the customizer it works fine for the German front page. The english front page however shows all posts regardless of the selected category. Current workaround is a manual hack for the specific category and language in the landing page php code.For the Cryout slider there is the option to use a short code which I then can edit in the polylang settings. Would this be a possible solution for this case?
Regards
May 28th, 2019 at 12:01 #78060Same problem as @Christoph.
Not the posts from selected category but all posts are displaying in second languages. It happens in Featured Boxes 1 & 2 on my landing page. Although I have translated all post content and categories using Polylang to link them together.Plus, encrypt in Featured Icon boxes only work on primary language but display full content when in second language.
I have used the workaround but seems cannot fix the problem:
if ( function_exists( ‘pll_get_post’ ) ) {
$page = get_post( pll_get_post($pageid, get_locale()));
$pageid = pll_get_post($pageid, get_locale());
} else {
$page = get_post( $pageid );
}Website: www.causewayeducation.com
June 30th, 2019 at 01:30 #83607Hi, unfortunately the same problem with Septera here. Please find a solution because this functionality (Featured Boxes 1 & 2) is essential for my site. Thank you in advance.
-
AuthorPosts
The topic ‘Multi-language front page’ is closed to new replies.