Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#151 2007-03-20 22:22:37
Re: MLP - The Multi-Lingual Publishing Pack
marios wrote:
I haven’t actually started yet to get my hands at complex templating work with Steve’s nifty tricks and l10lang tags, so let’s see how that goes.
It’s really neat, you’ll love it; there are some awesome possibilites that I’m only just beginning to wrap my brain around. The power from combining the plugin tags with some PHP and calls to gTxt() is phenomenal. e.g. dynamically choosing snippet names based on the result of an SQL call means the client can receive an AJAX success/failure code and parameters from the database then look up the translation. That message is then in the local language and has the dynamic parameters plugged into it. Powerful stuff.
btw, a while ago I made a small mod to the plugin to allow the l10n_lang_list to be a select dropdown instead of a ul/li list. Steve may include something along these lines in a future rev but I’ve realised that the one I sent him is not very accessible friendly because it adds an onchange to the select. Navigating with the keyboard is a pain and you have to remember to hit ALT+Down Arrow first to “open” the list so the changes only take effect when Enter is pressed. Nasty.
What I may do is mod the mod to add a tag option for a “go” button if you so wish, which would remove the auto-onchange. Once I make some time (and I’ve figured out how to make the word ‘go’ appear in the currently selected language :-) I’ll have a stab at it.
Though I’d prefer Steve to control dissemination of mods like these (I don’t like stepping on people’s toes), if you’re interested in the code in the meantime, let me know.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#152 2007-03-22 07:28:12
Re: MLP - The Multi-Lingual Publishing Pack
1.first thanks for this great plugin package.
But i have some difficulties with the mlp-01.6.602 version. I installed all files as descripted but when i enable the |10 plugin than is coming following error massage and the whole textpattern doesnt work at all.
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.”
If i disable than this plugin than if i go to content of couese MLP doesnt appear. How can i fix the problem?
thanks for some ideas or help
sanmarco
Offline
#153 2007-03-22 07:54:35
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: MLP - The Multi-Lingual Publishing Pack
@bloke, all that sounds very interesting , I’ll send you a mail once I get the time. In the meantime, I thought to concentrate on these three aspects:
- improvement of the Usability aspect of the renditions tab
- CSS improvements in the backend
- Final gr and de localization of the lang strings ( still not in the final )
- thorough testing of the available lIOlang tags
- Porting basic Usage and setup instructions to the WIKI manual
- thinking about further support of the plugin
@sanmarco,
What does your diagnostics info look like, what are the Error messages and debugging output, what’s the Server Environment ? What did the Setup Wizard tell you during set up ?
regards, marios
Last edited by marios (2007-03-22 07:55:12)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#154 2007-03-22 08:00:43
Re: MLP - The Multi-Lingual Publishing Pack
@marios
i think i just spoiled the whole thing. I looged out from textpattern admin because of this error. Thyan i try to login but now only the same error message appear. Even i cant enter anymore the adim section to disable the |10 pulgin. Looks like that all is gone.
Offline
#155 2007-03-22 08:43:54
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: MLP - The Multi-Lingual Publishing Pack
sanmarco wrote:
@marios
i think i just spoiled the whole thing. I looged out from textpattern admin because of this error. Thyan i try to login but now only the same error message appear. Even i cant enter anymore the adim section to disable the |10 pulgin. Looks like that all is gone.
It’s just hard to tell, what’s up, if you don’t have enough information at hand.
I think I will concentrate on point Five above, to cover up installation errors form the User’s Side, things like:
- Make sure you have a working TXP installation in place prior installation of MLP with desired languages installed.
- Don’t enable the I10lang plugin prior the admin library.
- Make sure you don’t overwrite php files in lib, when adding the additional MLP files, except the one Steve mentiones in the Help Page, etc, etc, etc…
@sanmarco, can you see the additional tables at least from phpmyadmin ?
regards, marios
Last edited by marios (2007-03-22 08:45:11)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#156 2007-03-22 17:10:09
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
All
back again, please excuse the delay but I’ve been taking some time out to be with my family. Will start playing catch-up with your posts over the next few days.
— Steve
Offline
#157 2007-03-22 17:17:29
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
sanmarco wrote:
i think i just spoiled the whole thing. I looged out from textpattern admin because of this error. Thyan i try to login but now only the same error message appear. Even i cant enter anymore the adim section to disable the |10 pulgin. Looks like that all is gone.
If you access your installation via phpMyAdmin as Marios suggests then go to the txp_plugin table, locate the l10n row and either delete it or set the status field to ‘0’ (zero) if it isn’t already — that should get you back in if the MLP pack was the problem.
— Steve
Offline
#158 2007-03-22 17:36:20
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
All
Whilst away I’ve been thinking of dropping support for installations with any MySQL version prior to 4.1
Version 4,1 was the first that included utf-8 and collations.
You may know that 4.1 and below are now deprecated and the installation packages are hard to come-by and the 3.4/4.0/4,1 manuals have been merged into a single document — which makes working with these older versions a little more difficult now.
However, before I disappeared I tried to get a local development/testing envirnoment for MySQL 4.0 together. As I only have a single machine running Ubuntu 6.06/WinXP I tried using VMWare server and some of the exisiting virtual machines from the VMWare website (found some very useful ones as I was doing it — but that’s another story) but getting a working, writable, MySQL 4,0.x environment eluded me.
I really don’t want to put more time into this aspect of testing/developing the MLP Pack but would like to concetrate on getting a stable v1,0 that runs on PHP4/PHP5 (Apache Modules); MySQL 4.1+ as soon as possible.
I understand this might not be a popular idea for some. Your thoughts/suggestions appreciated.
— Steve
Offline
#159 2007-03-22 17:39:44
- FireFusion
- Member

- Registered: 2005-05-10
- Posts: 698
Re: MLP - The Multi-Lingual Publishing Pack
I say go for it. I’m just hoping we will find a fix for the PHP 5.2.1 “blank write tab” problems
Offline
#160 2007-03-22 18:20:23
Re: MLP - The Multi-Lingual Publishing Pack
Mmmm…
I’m right now developing a site in a MySQL 4.0.x enviroment.
Steve, I’m with you in the idea of dropping developement for old deprecated versions so I will try to see if there is a change to upgrade to MySQL 4.1+.
In the meanwhile, I help you to play catch-up with my post.
Offline
#161 2007-03-22 18:24:20
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: MLP - The Multi-Lingual Publishing Pack
Steve wrote
dropping support for installations with any MySQL version prior to 4.1
Agree, I’ve seen it anounced as well from the sql Site. It makes more sense to concentrate on forwards-compatibility in regards towards 4.1.x branch of TXP source code.
And if local hosting companies are not willing to upgrade their Servers to minimal standards in this regard, then it makes more sense, to consult prospective clients to choose from appropriate EU/US hosting offers, that are up to date.
regards, marios
Last edited by marios (2007-03-22 18:31:17)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#162 2007-03-22 19:53:35
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: MLP - The Multi-Lingual Publishing Pack
marios – you were right: deleting articles with MLP-way works for me too. Great!
Could you guys tell me the line needed to drop those existing ghost-stories from my database, (I have rss_admin_db_manager installed)? I wouldn’t mind to leave them there (some lorem ipsum and other fun stuff…) :)
Offline
#163 2007-03-22 20:16:12
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
maniqui
Thanks for the pointer. My comments below…
Hi steve.
I’ve been playing a bit with this incredible plug-in and I think I’ve found a bug. Not sure if it has been already reported because I didn’t read through the 15 pages.
<snip>
One workaround is: first , to translate all the plug-in strings to en-us/es-es/de-de and then, after that, it seems to be safe to delete the en-gb renditions. But be careful, because when you delete a plug-in rendition for one language, that language is deleted for all the available MLP-compatible plug-ins (there is a modal that prompts telling that, so, it’s normal behaviour and not a bug).
Yes, that was the idea but you’re right, it can go horribly wrong if you delete the en-gb before all the strings are translated.
So, as a summary: if there is a list of plug-in strings that are just translated to a language (usually, en-gb) that isn’t being used in the admin/public side (and so, you are allowed to delete its renditions) and you haven’t yet translated them to any other installed language, then, if you delete the en-gb renditions, you loose all the strings (= all the strings that hasn’t been translated) and so, you are no longer able to translate them to any other installed languages.
I hope I have explained the problem. Excuse my english!
No problem, it’s perfectly understandable. What I can do is add a check to the code so that the tempting ‘delete’ button doesn’t show if deleting the plugins’ strings in that language would totally remove any of the strings — but it will be a low priority item compared to FireFusion’s problem.
Last edited by net-carver (2007-03-22 20:33:21)
— Steve
Offline
#164 2007-03-22 20:19:27
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
ultramega
If you have access to phpMyAdmin then you can use that to delete your ‘ghost’ rows from the l10n_txp_ table(s). That should work fine if there are just a few rows that need cutting out.
— Steve
Offline
#165 2007-03-22 20:32:44
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
ultramega wrote:
How about this: If I delete an article, it stays visible, no matter how hard I hit browsers’ cache controls. Article doesn’t even exist, if trusting renditions list. But keeps showing. If I de-activate MLP, article is not visible anymore on front-end. If I re-activate, here we are again! If I change it’s status to draft, it disappears, as expected. Any solutions, or have others been seeing this kind of behaviouring?
Can you let me know…
- what version of MLP you’re running?
- did you use the MLP > artcles tab to produce that probem or the ‘select & delete’ method on the content > renditions page?
— Steve
Offline