Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#805 2008-06-24 02:56:18
Re: MLP - The Multi-Lingual Publishing Pack
Hi Steve! Hold on! I’m just about to update, so if you can wait like… twenty minutes more, I will give some feedback.
FYI : I have also — following a frustrating time helping Lee with a client site — decided to add an option to ignore the visitor’s browser’s accept-language headers when deciding what language to serve the site in. This should simplify things for development and debugging — and possibly running your site. But I think once you have a stable site with all languages populated then honouring the browser’s language prefs would be better for first-time site visitors.
Anyway, the option will be there for you. I’m sure this was requested previously in this thread somewhere — but I’m not going to search for it — so kudos to the original suggester(s), whoever you were.
I think I didn’t understand this new feature.
Last edited by maniqui (2008-06-24 02:56:27)
Offline
#806 2008-06-24 03:03:01
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
Anyway, the option will be there for you. I’m sure this was requested previously in this thread somewhere — but I’m not going to search for it — so kudos to the original suggester(s), whoever you were.
Offline
#807 2008-06-24 03:29:24
Re: MLP - The Multi-Lingual Publishing Pack
OK, so far, so good.
I’ve updated a site (the one with MySQL < 4.1) and everything seems to be working fine :)
Steve, do you have any kind of checklist you want me to test?
BTW, I haven’t updated the txplib_db.php file, because I have done a manual diff sometime ago to merge your version and the version that comes with TXP 4.0.6.
Are there any changes in your version or can I keep my “merged” version?
Finally, should I install your library? Any advantage in having it installed?
Offline
#808 2008-06-24 04:58:36
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
maniqui wrote:
Looks about right. The new feature just allows your site to ignore whatever the user’s browser is sending as its preferred language . That’s useful in cases where the user hasn’t setup the browser prefs (as you pointed out) or where a developer wants to look at the site default but that isn’t what they normally have their browser setup for.
In Lee’s case, (I assume) he was using English as his preferred browse language but expected to see the site default of French when he visited the site.
I’ve updated a site (the one with MySQL < 4.1) and everything seems to be working fine :)
Steve, do you have any kind of checklist you want me to test?
Yes…
- Commenting (on different renditions of the same article.)
- Contact form.
- File downloads give you a valid file (no BOM corruption at the beginning.)
- Validation.
- Searching.
- Feeds (note the new feed preference on MLP>Prefs)
- Urls to have language marker inserted…
- Permalinks
- l10n_lang_list output
- Search result urls and displayed address
- When the xhtml has
href=""
,HREF=""
,href=''
,HREF=''
(some of these used to fail) - Even when the address is urlencoded (ie. with special characters like
+
for spaces) - Even using messy mode
- No language marker in…
- Off-site links
- Admin side urls
- Linked css or js
- Images (like a thumb linked to a fullsize image)
- File downloads
- Any section/area listed in the mlp>prefs as excluded from rewrites
Will that do for now?
Are there any changes in your version (of txplib_db.php) or can I keep my “merged” version?
Yes, Stef asked the Dev’s to make a few changes for 4.0.7. In anticipation of that release, the new version of the file has the changes. You might want to do a manual diff and merge to check them for yourself. They should make no difference to users of 4.0.6.
Finally, should I install your library? Any advantage in having it installed?
It has a helper class in it (sed_mlp) that takes most of the hard work out of making other plugins MLP compatible. Thanks to Stef for the idea for that. If you aren’t using plugins that need it then no advantage installing it.
— Steve
Offline
#809 2008-06-24 05:42:39
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
Commenting (on different renditions of the same article.)
Sorry, can’t test them: no comments on this site.
—
Contact form.
I’ve tested sending an email from each translated contact form (en, es). It seems to have worked fine. My client should send me a reply tomorrow telling me she received the emails.
—
File downloads give you a valid file (no BOM corruption at the beginning.)
Again, sorry, no file downloads.
—
Validation.
You mean validating the source on W3C? It seems to have worked fine.
—
Searching.
Seems to work as before, that is, fine, perfect.
—
Feeds (note the new feed preference on MLP>Prefs)
Not sure how to test this. In this site, the feeds are “per section”, and just for the news section.
You can take a look at the generated urls URLs here.
—
Urls to have language marker inserted…
Permalinks
l10n_lang_list output
Search result urls and displayed address
Seems to be working correctly.
—
When the xhtml has
href=""
,HREF=""
,href=''
,HREF=''
(some of these used to fail)
Even when the address is urlencoded (ie. with special characters like+
for spaces)
Even using messy mode
Haven’t tested.
—
No language marker in…
Off-site links
Admin side urls
Seems to work fine.
—
Linked css or js
Haven’t tested because there isn’t any static js/css linked.
—
Images (like a thumb linked to a fullsize image)
Seems to work fine.
—
File downloads
Haven’t tested it: there isn’t any file to download.
—
Any section/area listed in the mlp>prefs as excluded from rewrites
Haven’t excluded any other section.
—
Will that do for now?
Yes, thanks.
I’ve another site with MLP but it’s under an slow development process. I will try to update that one too asap, and do more testing on this checklist.
Thanks again!
Offline
#810 2008-06-24 17:18:17
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Julián
Thank you for taking some time to test the changes.
— Steve
Offline
#811 2008-06-24 17:26:41
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
All
Latest dev build is mlp-0.8.715.zip.
You may be pleased to hear that it adds items 27-30 from the updates page. (Yes, that does include mass-cloning.)
— Steve
Offline
#812 2008-06-25 05:12:39
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Folks
If you are willing to share your strings for any plugins or the MLP Pack itself, please kick start things over at the MLP String Exchange
— Steve
Offline
#813 2008-06-28 15:09:58
Re: MLP - The Multi-Lingual Publishing Pack
Amazing plugin!!! Many Many thx
However i do have a question. (BTW please excuse my ignorance)
I have no access to the following tabs within the MLP tab
1. Plugins
2. Snippets
3. Voorkeuren (prefs in english)
4. Wizards
I only have access to the middle tab Artikelen (artiicles in english)
Could someone please enlighten me to what exactly I have I done and how I can solve this:-?
I think, therefore I AM, … … er … I think :-?
Offline
#814 2008-06-28 15:19:34
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Timid&friendly
Hi, thanks for taking a look at the MLP pack.
I only have access to the middle tab Artikelen (artiicles in english)
Could you let me know…
- …if you are logged in as a user with “publisher” rights?
- …what version of Txp you are using?
- …what version of the MLP Pack you are running?
- …exactly what happens when you try clicking on one of those inaccessible tabs? (Please roughly translate an error message that appears as I can’t understand Dutch.)
Thanks in advance.
— Steve
Offline
#815 2008-06-28 15:47:47
Re: MLP - The Multi-Lingual Publishing Pack
I forgot to report (“No new, good news”) that I’ve upgraded to latest version and everything seems to have worked fine for me.
Offline
#816 2008-06-28 15:48:30
Re: MLP - The Multi-Lingual Publishing Pack
Thx for the swift response :-)
1. I am logged in as publisher with top privileges
2. 4.0.6
3. mlp-0.8.715
4. Closed area message under an empty tab (i believe it’s the standard message you get when you don’t have user privileges). No error messages!
additional info:-
A) I did however first install version mlp-0.7.650, cos that was the latest version i could initially find, however when i got the above messages I went looking for solutions and found version mlp-0.8.71.
B) I deleted all the old plugins first and then added the new ones. But the intial wizard had already done it’s job and didn’t get the setup wizard option again.
C) I have two versions of the plugin “zem_contact_lang” version 4.0.3.6 and version 4.0.3-MLP
EDIT: RESOLVED SEE UNDERNEATH
Last edited by Timid&friendly (2008-06-28 15:53:05)
I think, therefore I AM, … … er … I think :-?
Offline