lloydo3000
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Different domains and MultisiteI didn’t think much about your issue, but here’s someone who did:
https://polylang.wordpress.com/2014/10/11/polylang-1-5-6-and-polylang-1-6-beta2/comment-page-1/#comment-1014Forum: Plugins
In reply to: [Polylang] [Plugin: polylang] CSS styling not workingNice to hear it’s going now ??
Can you mark the support topic as “Resolved” if you’ve no further questions?Forum: Plugins
In reply to: [Polylang] Same post, multiple languages ?Nick, it sounds like the same question as this:
https://www.ads-software.com/support/topic/make-a-post-international?replies=3
Chouby replied to say it’s not possible.Neil, it could be possible. Check the Polylang developer page https://polylang.wordpress.com/documentation/documentation-for-developers/general/
You could write a function to detect the locale and then display a menu_fr for example. https://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/navigations-menus/
But perhaps this is what the plugin is already doing.
Forum: Plugins
In reply to: [Polylang] 500 errorFor more information on the error you can look in your site’s error log, and also set WP_DEBUG to true
Forum: Plugins
In reply to: [Polylang] [Plugin: polylang] CSS styling not workingYou were close but try applying your CSS to
.widget_polylang ul
instead!BTW it’s hard for people to help you if your site isn’t accessible!
Forum: Plugins
In reply to: [Polylang] FontsIt seems like your font Cinzel doesn’t support Cyrillic characters?
Forum: Plugins
In reply to: [Polylang] Plusieurs langues mais un seul drapeauPolylang is a manual (not automatic) translation plugin.
After setting it up with your four languages, you now need to write each page in the correct language.
https://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/translating-posts-or-pages/Forum: Plugins
In reply to: [Polylang] iPhone default language problemIt depends on the regional settings of the device, e.g. for me I was immediately shown https://mkarkitektur.no/en/
I suppose this means you are letting Polylang choose the language automatically (from the Settings page):
Detect browser language
? When the front page is visited, set the language according to the browser preferenceForum: Plugins
In reply to: [Polylang] Walker changed in PLL 1.5.1? Custom nav brokenHello, any ideas on this? Something to point me in the right direction would be appreciated!
Forum: Plugins
In reply to: [Polylang] Polylang – pll_register_string problemI’m not sure how this Simplify theme works, I always write my own.
It depends how the theme is creating the homepage, if the text is coming straight from some Simplify setting then Polylang is probably not aware of it. Is there some way to use widgets to display your text instead? I think Polylang can translate widgets.
If the text appears correctly in the header though, you’re halfway there, just keep looking around. Or perhaps you can use a static home page and set an ordinary page as home and translate it the normal way?
I’d also suggest you to go to the developers’ support page
https://d5creation.com/forums/forum/general-support/Forum: Plugins
In reply to: [Polylang] Polylang – pll_register_string problemOnce you’ve registered a string, you need to use it programmatically (it’s not automatically translated across the site).
So wherever on your site you need that text written, you need to display it using a function. You need to use one of these three in your templates:
1 pll__ 2 pll_e 3 pll_translate_string
1—For subsequent use in your code (display using PHP printf)
2—To display the text on your site (analogous to PHP echo)
3—Like 1 but you manually choose the languageMore information available here. But just try pll_e( ‘is slechts een proeftekst’ ) then you’ll understand.
Registering a string is useful for when you need to use it over and over again in your templates. If the text is meant more as the content of your site, it’s better just to write a post/page using the normal editing interface, and manage translations with Polylang from there.
Hope this helps you!
Forum: Plugins
In reply to: [Ultimate Coming Soon Page] Not able to add mediaI have exactly the same problem, fresh install of WP 3.5 with Coming Soon 1.6.1 and nothing inserted when I click Insert into Post.
If I paste the URL from the Media Library, it is saved and displayed correctly.
Hope my site isn’t hacked too, Robert! Any idea how/why?
I think you need to modify the loop in your theme.
Chouby provides a snippet here in the documentation, and there is a bit more information in this support topic.
However I think it could be a good feature to request for a later version of Polylang. I suggested something similar to trap all of these error conditions:
Since Polylang knows which language the user requested, maybe an error message in their language? You could provide a list of the languages available for that page, and even an online translation? Maybe:
Sorry, the content you requested is not available in XXX language. You may choose from these currently available languages or try a machine-translated version.
What do you think? Maybe some people would still prefer an option to direct visitors back to the homepage instead.
Forum: Plugins
In reply to: [Polylang] Nothing found when visitor returns to siteI just tried this for you in IE and Firefox, following the steps you outlined.
After re-opening the browser, the DE page loads with no error messages.
So it seems to be okay, the only strange thing is the language cookie isn’t used to display the EN page as it is now the preferred language. Did you set the option in Settings to “Detect browser language?“
From the Documentation:
Check this option and when someone will visit your homepage for the first time it will be displayed according to his browser preferences. If his browser preferences do not include any language of your site, the default language will be used.
Forum: Plugins
In reply to: [Polylang] Polylang breaking static front page on new WP 3.5 installationThanks for replying!
Hmm, that is a strange bug. I do understand what is happening now.
But I have no idea what was happening with the language order. But it’s a tiny issue that is easily fixed by setting the Order.
I would like to give you some ideas at a later time (priorities!) regarding the interface, as I think it is not totally intuitive. The code you have written underneath is brilliant, and I’m sure Polylang is/will soon be the #1 language plugin.
If you’d like me to test newer dev versions just reply back. Oh, and you never said what is the preferred method for migrating a WP installation? I gather that updating/overwriting the plugin doesn’t require you to restore your settings and the links between translated pages, but what if you want to move to a new server?
Cheers,
Lloyd