Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1276 2009-04-28 06:38:14
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: MLP - The Multi-Lingual Publishing Pack
does this plugin cause people to get logged out often?
We have had this sometimes, no idea what is causing it. We also had few users at the same time logged in. Logging out happened always when user switched from some admin tab to other. Maybe completely reseting browsers cache helped, I’m not sure.
My questions: what is currently the best way to have multiple tags or categories with an article when using MLP? I’m little bit hurry with my schedule so wouldn’t mind to test different options to see that they are not working :)
And my other question (earlier) was about commenting, is that working okay with mlp, can recent comments be filtered by the language used and so on?
Offline
#1277 2009-04-28 18:36:09
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
mrtunes wrote:
does this plugin cause people to get logged out often?
I have never experienced this. Does this only happen on the MLP site? Do you have other (MLP-less) Txp sites on the same server, to compare?
ultramega
Do you mean using a plugin, like tru_tags or rss_unlimited_categories? I’ve never used them together with MLP, so I’m afraid I can’t tell you. Or did you mean something different?
And I’ve never used comments with MLP either, sorry.
Offline
#1278 2009-04-28 18:38:03
Re: MLP - The Multi-Lingual Publishing Pack
Els wrote:
I have never experienced this. Does this only happen on the MLP site? Do you have other (MLP-less) Txp sites on the same server, to compare?
it only happens on my MLP site, which i believe is the only major plugin installed on it. it’s on the same server as most of my sites. this could have something to do with our move to a subdomain. it often happens after trying to save an article. so i just make sure to copy it to the clipboard before submitting.
Last edited by mrtunes (2009-04-28 18:38:46)
Offline
#1279 2009-04-28 18:44:39
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
mrtunes wrote:
it often happens after trying to save an article.
Ouch, bad timing! If you happen to find the exact circumstances in which it happens, I’m sure it will be useful for Graeme to know.
Also if there are others experiencing this, please post it here.
Offline
#1280 2009-04-28 19:13:37
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: MLP - The Multi-Lingual Publishing Pack
I tried doing a search for this but didn’t find the relevant answer…
So I have some badges in my sidebar that are in english. when the user clicks to the spanish rendition, i want the spanish versions of these badges to show up.
Using the l10n_if_lang ,I have the following if/else statement
<txp:l10n_if_lang $l10n_language[es] />
<txp:output_form form="badges-sp" />
<txp:else />
<txp:output_form form="badges" />
</txp:l10n_if_lang />
but it doesn’t work. Obviously, because there is no need for a self closing tag as you would in a typical <txp:if_section> tag.
So how do I go about accomplish this? Or am I misinterpreting the document completely?
Last edited by dreamer (2009-04-28 19:19:44)
Offline
#1281 2009-04-28 19:16:56
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
pogonik wrote:
Hi
I’ve been post this question on Serbian subforum, but no one seem to help…
I have successfully installed MLP…been reading a lot of it, and i’m sure that i’ve did all steps. I’ve installed English, Spanish and Serbian (latin) language…( Serbs are using both, latin and cyrilic alphabets). But textpattern showing Serbian language as English (sp-rs)…on the page, for language list I get Spanish and two times English. Spanish works, one English also, but for other English (actually Serbian) when I click it I get just one more “sp” in address (for example http://localhost:8888/mysite/sp/sp/sp….)…sp should be short for Serbian.
After that, I’ve try it with Serbian cyrilic and it was work as it should.
I’ve tryMLP with Serbian as default, English default, etc…but it alway goes the same.Now, if anyone can understand my tarzan-english, what should I do?
Hi pogonik, have you tried installing sp-rs on a site without MLP? Does it work there? (Just to confirm it’s MLP related.)
Offline
#1282 2009-04-28 19:22:05
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
dreamer
<txp:l10n_if_lang lang="es">
<txp:output_form form="badges-sp" />
<txp:else />
<txp:output_form form="badges" />
</txp:l10n_if_lang>
Offline
#1283 2009-04-28 19:27:55
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: MLP - The Multi-Lingual Publishing Pack
hmmm…i see i misused the self closing tags. though, the documentation didn’t make clear about the lang attribute. thanks!
if the author is reading, i’m happy to go through the documentation and help him clarify any aspects of the documenation that needs clarification. sometimes, plugin authors tend to write from their perspective and not from perspective of the newbie user. i have to use this plugin more often so i’m happy to help if need be.
Offline
#1284 2009-04-28 19:35:45
Re: MLP - The Multi-Lingual Publishing Pack
yes I have try without mlp…i’m using textpattern a lot :-) …but this is a first time i’ve using mlp and i really need that Serbian latin…
it’s not problem just in txp: tags…the problem is also in admin area…after installin mlp some tabs are on english and some on serbian…in mlp renditions table stands English twice, not Serbian…in upper right corner in combo box, theres English(en-gb), English (sp-rs), Espanol (es-es)…and so one…like everything is messed…
again, with Serbian cyrilic everything is ok and works great…I’ve try this instalation for x times…
Offline
#1285 2009-04-28 19:42:15
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
dreamer wrote:
i have to use this plugin more often so i’m happy to help if need be.
Thank you! As you probably noticed, MLP has been adopted by Graeme and Bloke. We should wait a while and see how MLP will evolve before starting to work on the docs, but ultimately we will also need good documentation and all help will be more than welcome!
Offline
#1286 2009-04-28 19:46:48
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
pogonik
I’ll try to install sp-sr in my test install, and see if I can find out what happens. I’m not sure if I can manage that tonight, if not I’ll do it tomorrow. In the meantime, I hope someone who’s also using that language will read your post and reply.
Offline
#1287 2009-04-28 20:34:53
Re: MLP - The Multi-Lingual Publishing Pack
wow…thank you a lot Els. that would be great! I hope i’m not gonna have to do another translation :-)
Offline
#1288 2009-04-28 21:49:10
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
OK, I think I found it :) In l10n_langs.php it says ‘Srpski’ for sr, which should be ‘Српски’. And sp is missing. I modified the file to correct that. You can grab it here.
Now follow these steps (they worked for me):
- replace the old l10n_langs.php with the new one
- using phpMyAdmin, empty (truncate) the txp_lang table
- in Admin > Preferences > Language: re-install your languages
As far as I can see it’s working as it should now. Of course, the l10n language strings are not yet translated, at the moment we only have a complete Dutch translation: http://txpforge.org/projects/list_files/mlp. So you’ll have to translate those yourself, or find someone who already did that :)
Let me know if it works!
Offline
#1289 2009-04-29 07:53:23
Re: MLP - The Multi-Lingual Publishing Pack
….aaaaannnddd there we go again!!! yessss. Thanks a lot!
I had som problems after doing the steps you pointed, but never mind…I did new instalation with your modification of file, and now everything works.
Thanks once again.
Offline
#1290 2009-04-29 09:25:09
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
pogonik wrote:
I had som problems after doing the steps you pointed, but never mind…I did new instalation with your modification of file, and now everything works.
Yeah, I had to think afterwards what exactly I had done, so it’s possible I forgot a step ;) A new installation would work anyway. I’m glad it solved your problem!
Offline