tonfarbe
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Site language –> Available languages emptyI have found a solution for my last problem with the wrong HTML lang attribute.
There’s a plugin called ‘CHL-Change HTML Lang‘ that lets you enter the desired HTML lang attribute in WP –> Settings –> General.
Thanks again for the great support!Forum: Plugins
In reply to: [Multisite Language Switcher] Site language –> Available languages emptyThis is the language dropdown that extended by your hook (would prefer to have the listing ‘English (India)’ instead of ‘en_IN’:
And this is the html code of the website that has the language en_IN assigned.
The href lang is en-GB, but it needs to be en-IN.Thanks a lot for your superb support!
Forum: Plugins
In reply to: [Multisite Language Switcher] Site language –> Available languages emptyThanks, wer’re getting closer!
I copied the en_NZ.po and renamed it to en_IN.po and en_IN.mo.
Now finaly I can select the language en_IN in WordPress, but the code of the site still shows the href lang en-GBForum: Plugins
In reply to: [Multisite Language Switcher] Site language –> Available languages emptyThanks again.
I wrote this hook in a plugin and was able to activate the plugin without any warnings.
I guess now I should see the option of ‘Englisch (India)’ in the available languages dropdown.
Unfortunately, this option isn’t shown.Forum: Plugins
In reply to: [Multisite Language Switcher] Site language –> Available languages emptyThanks for the quick reply!
Where do I paste this hook?
When I paste this hook in functions.php I get a ‘critical error’ in the backend.
When I create a plugin, I get this warning: “Plugin could not be activated because it triggered a fatal error.”- This reply was modified 1 month, 4 weeks ago by tonfarbe.
Forum: Plugins
In reply to: [Multisite Language Switcher] Site language –> Available languages emptyHere’s a screenshot