This is a separate problem I've encountered with the plugin_event_multilingual, so I'm posting as a new topic.
One of the configuration options available is the "Translation of blog title", which lets you use {{en}}Title{{--}} style of writing the blog title to let s9y pick out the correctly translated one out of many.
The two places that I noticed this to not work are within the administration (backend) page, which isn't critical, and the archive page (<blog base URL>/archive), which is.
You can currently see this problem at my blog's archive here: http://tool-box.info/blog/archive
I've skimmed through the code and am still baffled as to why the archive page would not have the properly filtered title like the rest of the frontend pages. I put the multilingual plugin as the first event plugin on the list, but it made no difference. The problem occurs with different themes, so it's not a fault of a particular theme, either, as far as I can tell.
Does anyone have any idea as to why this is happening? Maybe it's the way archive page is called out?
Multilingual:"Translation of title" not working for archive
Multilingual:"Translation of title" not working for archive
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
Re: Multilingual:"Translation of title" not working for arch
Solved - see other thread and update 2.25 and 2.26.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Multilingual:"Translation of title" not working for arch
Upon further testing, the translation of title isn't applied when a comment or trackback is made, either. When I added a link to one of my older entries, it triggered an automatic trackback, which left the whole {{!en}} stuff as the name of the blog.
Example: http://tool-box.info/blog/archives/1968 ... -Naju.html
I wonder if this is fixable from the plugin?
Example: http://tool-box.info/blog/archives/1968 ... -Naju.html
I wonder if this is fixable from the plugin?
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
Re: Multilingual:"Translation of title" not working for arch
Did you try adding "|multilingual_lang" * modifier to $trackback.author ?, ie at https://github.com/s9y/Serendipity/blob ... cks.tpl#L3
* see http://board.s9y.org/viewtopic.php?f=4& ... #p10445249
Addition:
This is not done by the Plugin automagically, since the regex parser only applies to the banners blog title(s), entries and entry titles and sidebar items (titles). Trackback author and such things are different Smarty vars and need to have the multilingual_lang modifier set in the themes template files where you need it.
Code: Select all
{$trackback.author|multilingual_lang}
* see http://board.s9y.org/viewtopic.php?f=4& ... #p10445249
Addition:
This is not done by the Plugin automagically, since the regex parser only applies to the banners blog title(s), entries and entry titles and sidebar items (titles). Trackback author and such things are different Smarty vars and need to have the multilingual_lang modifier set in the themes template files where you need it.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Multilingual:"Translation of title" not working for arch
I'm not sure if I'm doing this right. I changed this line in trackback.tpl:
To...
But the problem persists.
Code: Select all
{$trackback.author|default:$CONST.ANONYMOUS}
Code: Select all
{$trackback.author|multilingual_lang|default:$CONST.ANONYMOUS}
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
Re: Multilingual:"Translation of title" not working for arch
No. Now it has changed. At least for me - to:wesley wrote:But the problem persists.
Wesley's Tool-Box on Friday, April 22. 2016: Naju population returns to 100 thousand - who's in there?
and
웨슬리의 툴박스 작성일: 2016년 4월 22일 금요일: Naju population returns to 100 thousand - who's in there?
with <ko> lang set
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Multilingual:"Translation of title" not working for arch
Huh... you're right. I checked with another browser and see the same thing as you. It must have been a caching thing. Thanks for the help.
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.
Re: Multilingual:"Translation of title" not working for arch
Hi Wesley
I just pushed another fix for the blog title, which should now work in the email (ie. by contactform) subject (and probably other places) too. Available tomorrow.
I just pushed another fix for the blog title, which should now work in the email (ie. by contactform) subject (and probably other places) too. Available tomorrow.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Multilingual:"Translation of title" not working for arch
And another one for the title and description in the RSS feed. Needs a hard reload if open!
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Multilingual:"Translation of title" not working for arch
Where I can get the fix?
Dixie Chicks concerts are awesome! Going to a few in 2016!
Re: Multilingual:"Translation of title" not working for arch
If you have the Spartacus plug-in, then it'll let you download and update to the latest version.
Alternately, you could download the files from the s9y repository at Github:
https://github.com/s9y/additional_plugi ... ltilingual
Alternately, you could download the files from the s9y repository at Github:
https://github.com/s9y/additional_plugi ... ltilingual
I make s9y plugins, too.
My s9y blog depends on them.
My s9y blog depends on them.