l1va
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Eating backslashesI saved En version with two slashes (\\) , then saved Ru version with one slash. And as you see on En version of page i missed one place (third formula – \big) ) but i do not want to fix it because all slashes will be missed. It is a bad workaround that is why i leave the bug open.
Thanks for any help.Forum: Plugins
In reply to: [Comments - wpDiscuz] Spam commentsHi!
Thanks for the answer!
It is mysterious but after posting the question i removed spam comments and they stopped adding. That is why you did not see them.
Thank you for the name of Trackbacks/Pingbacks. I did not know how to search.
For those who will have the same problem maybe this link will be helpfull.Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] err_too_many_redirectsAs VaLeXaR suggested – i made changes in plugin’s template (language-switcher-list.php file) as i want and now call standard wpm_language_switcher() function.
Thanks!Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] err_too_many_redirectsThank you,
i understand that it is not changing permalinks, but.. add me to slack please, it will be faster. (email: [email protected])
Thanks!- This reply was modified 8 years, 6 months ago by l1va.
Forum: Plugins
In reply to: [Comments - wpDiscuz] How to load custom phrases by conditionCool! That is what i searching! Thank you!
Maybe the initial question was not so clear.Forum: Plugins
In reply to: [Comments - wpDiscuz] How to load custom phrases by conditionThanks for the answer, but yes, for forms – it works great – i have two forms for different languages, but near the form i have phrases like “leave first comment” and having form on english but phrase on russian – awful. That is why i am asking.
As i understood from the answer – it could not be done, but could you explain a little bit deeper why? As i feel – it is not difficult to get parameter from request and path it to the database query. Thanks!yes, understood.
I am not familiar with php and wp and hoped that there is an easier solution, but .. ok, will try.
Thank you for the answer!Hi, Valexar.
could you help?
i see that wpDiscuz has all phrases in separate table ‘wp_wc_phrases’ (columns are phrase_key and phrase_value).
What should be in wpm-config.json ?{ "wp_wc_phrases": { "some_phrase_key": {} ... } }Thank you again!
I simplified a little:div.lang-switch { padding: 0px !important; border: 0px solid #FFFFFF; text-align: right; } div.lang-switch ul { padding: 0px !important; margin-top: 0px; list-style-type: none; } div.lang-switch ul li { float: right; margin: 0px 0px 0px 1px; border: 0px solid; text-align: center; } div.lang-switch ul li a { color: #FFFFFF !important; background-color: #8c8c8c; font-size: 15px; font-weight: 600; text-transform: uppercase; padding: 35px 7px 7px 7px; margin: 0px 0px 0px 0px; } html[lang="ru-RU"] div.lang-switch ul li#language-ru a span, html[lang="en-US"] div.lang-switch ul li#language-en a span{ width: 35px !important; min-width: 35px !important; } div.lang-switch ul li.active a, html[lang="ru-RU"] div.lang-switch ul li#language-ru a, html[lang="en-US"] div.lang-switch ul li#language-en a { color: #FFFFFF; border-bottom: 5px solid #FFFFFF; } html[lang="ru-RU"] div.lang-switch ul li#language-ru a { background-color: #0099cc; } html[lang="en-US"] div.lang-switch ul li#language-en a { background-color: #ff0000; }And html :
<div class="lang-switch"> <ul> <li id="language-en"> <a href="?lang=en"> <span>EN</span> </a> </li> <li id="language-ru"> <a href="?lang=ru"> <span>RU</span> </a> </li> </ul> </div>Anticosti, thanks for sharing!
Could you add your html block with divs, please ?Hi,
as i understand strings like [:xx-xx] add when you tick “Show widget only in:
XX” for example for widgets. When i ticked – the page did not save.
I wanted repeat to show console error, but repeated not from the first attempt:PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in ..wp-includes/class-wp-customize-manager.php:2334
And another moment – [:en] does not change if i tick only russian for example.
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Language SwitcherHi, checked – seems working. Thank you!
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Language SwitcherHi Valexar,
i am using different menus, but maybe yes – the cause that it is one page. Ok, will try.
Thank you for the answer.Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Language SwitcherThanks, Anticosti.
First problem fixed.
Is second one fixable ?
Thanks.Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Language SwitcherHi!
i have the same problem: when i copy a link ( https://domain/ ) and open it in incognito window it redirects me to the https://domain/:/domain/en/. Main language is russian, second – en.
And another question – when i translate a menu (i made a new for second lang) and when i apply it for placeholder – it applies for main language too. Is it a bug or am i doing something wrong?
Feel free to ping me for any details.
Thanks!