
-
AuthorPosts
-
April 20, 2021 at 1:43 pm #1295538
Liebes Team,
Kurze Erklärung:
Ich baue gerade auf meiner Testseite ein dreisprachige Website und habe mich entschieden für die Startseite das Portfolio Masornay mit der Tag Darstellung landscape /Portrait zu verwenden. Die Bilder sind verlinkt auf ein Unterseite und nicht auf die Portfolioeinträge.Nun zu meinen Problem: Leider wird das Masonary nur in der Stammsprache (deutsch) angezeigt, nicht auf den Seiten der beiden anderen Sprachen (English und ungarisch)? Wie kann ich das lösen.
Sollte dies nicht lösbar sein gibt es eine andere Möglichkeit die anderen masorygalerien so aussehen zu lassen? Oder ein plugin das sich gut mit enfold versteht und keine grösseren Problem macht?
Danke schon mal für euere Unterstützungund liebe grüsse aus österreich
monikaApril 23, 2021 at 5:17 am #1296175Hi Monika,
The login details you posted are not working, please check and verify.
Unknown username. Check again or try your email address.
Also please let us know how we can reproduce the problem you are having on your actual site.
Best regards,
RikardApril 23, 2021 at 6:27 am #1296193Hi, Rikard
Oh sorry, here again// moved info into the private field
Thanks
Best regards,
monika-
This reply was modified 4 years, 2 months ago by
sternloscreative.
April 28, 2021 at 12:12 pm #1297146Hi,
Thank you for the update.
How did you translate the pages? Did you translate the images to other languages? If the media files are not yet translated, please check the following documentation.
// https://wpml.org/documentation/getting-started-guide/media-translation/
Best regards,
IsmaelApril 29, 2021 at 10:54 am #1297295Hi,
Thank you for your answer. I work with polylang not with wpml. and I don’t quite understand why I should translate the media file when the images are called up via the portfolio gallery (portrait and landscape) .. Unfortunately, my customer does not want to use wpml because it is chargeable
sorry for me that is not understandable. thanks for your support.Thank you and kind regards
monikaApril 30, 2021 at 7:37 am #1297481Hello again,
I’ve now translated everything. Unfortunately, it doesn’t look like it does on the German home page. What is it now? Thank you for your support
kind regards
monikaApril 30, 2021 at 12:30 pm #1297531Hi,
The images in the portfolio page of both Magyar and Deutsch languages are displaying properly on our end. (see private field)
Where and how can we reproduce the issue? If you are using the Polylang plugin, please check the following documentation.
// https://polylang.pro/doc/working-with-media/
Best regards,
IsmaelApril 30, 2021 at 12:53 pm #1297545Hi,
The Masonary on the German homepage looks right!
302 / 5000
Übersetzungsergebnisse
The masonary on the hungarian homepage looks wrong here is not sorted night by day or is simply not displayed! This is also the case on the English homepage!I would like the Masonary to look like the German start page in all languages (only on the start page)
Thank you
Kindregards
monikaMay 3, 2021 at 6:07 am #1297866Hi,
Thank you for the info.
Did you adjust the Styling > Size Settings of the masonry element in the hu and en languages? We tried to check it but the login account above is no longer valid. Please provide another account or restore the previous account above.
Best regards,
IsmaelMay 3, 2021 at 4:18 pm #1298047This reply has been marked as private.May 6, 2021 at 9:32 am #1298735Hi,
Thank you for the update.
This is not working correctly because the post tags (landscape, portrait) are automatically translated to something else, so the theme does not recognize them. You may need to set it so that Polylang does not automatically translate the post tags.
Try this filter in the functions.php file.
// disables the post tag taxonomy translation function ava_pll_get_taxonomies_mod( $taxonomies, $is_settings ) { unset( $taxonomies['tag'] ); return $taxonomies; } add_filter( 'pll_get_taxonomies', 'ava_pll_get_taxonomies_mod', 10, 2 );
For additional info about post tag translations, please try to contact the plugin authors.
Best regards,
IsmaelMay 7, 2021 at 7:36 pm #1299024This reply has been marked as private.May 11, 2021 at 9:30 am #1299614Hi,
Thank you for your patience.
We could also use the avf_ratio_check_by_tag_values filter to adjust the ratio_check_by_tag logic and include the tag translations so that the theme can still return the correct class name.
Best regards,
IsmaelMay 11, 2021 at 10:56 am #1299640This reply has been marked as private.May 12, 2021 at 5:06 am #1299808Hi,
We may need the access to the file server in order to properly test the filter with your installation, which contains the actual tag translations. Please post the FTP details in the private field.
Best regards,
IsmaelMay 16, 2021 at 7:35 am #1300509This reply has been marked as private.May 17, 2021 at 2:27 pm #1300751Hi,
We used this code in the functions.php file, but it did not work.
add_filter('avf_ratio_check_by_tag_values', 'avf_ratio_check_by_tag_values_mod', 10, 1); function avf_ratio_check_by_tag_values_mod($tags) { $lang = pll_current_language(); if($lang == 'hu') $tags = array('portrait' => 'portrait', 'landscape' => 'landscape'); if($lang == 'en') $tags = array('portrait' => 'portrait', 'landscape' => 'landscape'); if($lang == 'de') $tags = array('portrait' => 'portrait', 'landscape' => 'landscape'); return $tags; }
But then we noticed that the pages are not yet translated including the home page. Please translate the pages first, then set the home page in the Settings > Reading panel. (see private field)
// https://polylang.pro/doc/define-your-home-page-as-a-static-page/
// https://polylang.pro/doc/translating-pages-posts-categories-and-tags/Best regards,
Ismael -
This reply was modified 4 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.