Hello there,
I was wondering if you can tell me how I can land attribute to <article> or <main> tags of the post.
return str_replace('lang="' . get_bloginfo('language') . '"', 'lang="' . $lf_language_code . '"', $language_attributes);
What changes can I make that this plugin starts adding lang attribute to article or main tag instead of to HTML.
Since, other sections like navigation, sidebar, and footer will still remain in the default language.
Thanks,
]]>How does the box shortname work? Why must I fill it?
]]>Hello,
I’m using Language Field plugin on my blog running Hueman theme.
Everything seems to work fine except the featured post at the center of theme. Apparently Language Field does not switches between languages on this individual feature article.
Can someone provide me with the php code to include on this page so It would switch accordingly ?
It’s very frustrating for a user to have articles in different languages, even after making the selection.
Best regards and thank you
]]>Currently the plugin assumes rtl
for all languages, however, many languages are rtl
.
So it would be great if you add a field to set the desired direction for the added languages
]]>I am testing the plug in on a fresh blog, (no other plugins and default everything) WP v. 4.4.2.
I added two languages Arabic and English
The html tag without the plugin looks like this:
<html class="js" lang="en-US">
But after enabling the plugin it becomes:
<html class="" <br="">
This happenes on the front page and also single posts regardless if a language is chosen or not.
]]>i can choose the language only in posts/articles but not on pages. please fix that. thanks!
]]>Hi,
I am the owner of a site where some of our contributors need to post articles in Urdu and Pashto. The problem is that the formatting is wrong once I copy and paste from Word. I did install your plugin but I see no difference once I create the post. Maybe I am not understanding how this plugin works. As I read it I am under the impression that the plugin displays the post correctly. Is there any way you can give me some guidance? My site is fairly new but gaining a lot of traction in Pakistan and Afghanistan. I have 3 contributors that send in articles in the regional languages so I need to make sure they display correctly. Thanks for any help.
]]>