Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2007-02-06 10:22:35
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
fuls
thanks for the update. Good to get some positive confirmation!
adamtal
Your first point could probably be done using mod_rewrite on apache and mapping fr.example.com/blahblah
to example.com/fr/blahblah
and de.example.com/foobah
to example.com/de/foobah
but I haven’t tried that myself.
Check out this post above and my reply for your second question. Personnally, I would recommend trying this out on a local copy of your site first until you are happy with the procedure. As usual, you should backup your site and the original txplib_db.php file first.
All
We are now aware of these two outstanding issues which we will be addressing…
- Snippet tab giving
preload()
error on php4 installations - Install wizard sometimes giving an
undefined index
error when processing existing articles.
Last edited by net-carver (2007-02-06 10:24:07)
— Steve
Offline
Re: MLP - The Multi-Lingual Publishing Pack
Hi all! I have installed MLP on txp 4.0.4
I go to the top level ‘contents’ tab and to subtab ‘MLP’ .
Setup wizard bring some errors. How it to treat?
———————————————————————————————————————————————
PHP version: 4.3.10-16
Register globals: 1
———————————————————————————————————————————————
MLP Pack Setup Report…
1. Change the txp_lang table… 1. Extend `txp_lang.data` from TINYTEXT to TEXT : Failed 2. Add the `txp_lang.l10n_owner` field : Failed 2. Set the languages to: en-gb, de-de, ru-ru : Done 3. Insert the strings for the MLP Pack : Failed 4. Add fields to the “textpattern” table 1. Add the `textpattern.l10n_lang` field : Failed 2. Add the `textpattern.l10n_group` field : Failed 5. Localise fields in content tables… 1. Add the `txp_category.l10n_title_en_gb` field : Failed 2. Add the `txp_category.l10n_title_de_de` field : Failed 3. Add the `txp_category.l10n_title_ru_ru` field : Failed 4. Add the `txp_file.l10n_description_en_gb` field : Failed 5. Add the `txp_file.l10n_description_de_de` field : Failed 6. Add the `txp_file.l10n_description_ru_ru` field : Failed 7. Add the `txp_image.l10n_alt_en_gb` field : Failed 8. Add the `txp_image.l10n_alt_de_de` field : Failed 9. Add the `txp_image.l10n_alt_ru_ru` field : Failed 10. Add the `txp_image.l10n_caption_en_gb` field : Failed 11. Add the `txp_image.l10n_caption_de_de` field : Failed 12. Add the `txp_image.l10n_caption_ru_ru` field : Failed 13. Add the `txp_link.l10n_description_en_gb` field : Failed 14. Add the `txp_link.l10n_description_de_de` field : Failed 15. Add the `txp_link.l10n_description_ru_ru` field : Failed 16. Add the `txp_section.l10n_title_en_gb` field : Failed 17. Add the `txp_section.l10n_title_de_de` field : Failed 18. Add the `txp_section.l10n_title_ru_ru` field : Failed 6. Add the l10n_articles table : Failed 7. Process 0 of articles : Done 8. Add the per-language article tables… 1. Add the English (GB) [l10n_txp_en_gb] table : Failed 2. Add the Deutsch [l10n_txp_de_de] table : Failed 3. Add the Русский [l10n_txp_ru_ru] table : Failed 9. Clear the default comment invitation : Done 10. Insert MLP tags into pages : Done
Thanks for help!
Last edited by anDee (2007-02-06 10:50:53)
Offline
#27 2007-02-06 11:16:37
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
anDee
thanks for the feedback. Looks like a problem with the sql queries on your system as most of those steps are changes to the DB.
- Do you get any other SQL errors when running the site without the MLP Pack? (For example, when adding a new article from the content>write tab?)
- Are you running with table prefixes on your tables in this installation?
Can you also contact me to get my email address and then send me the corresponding entries from your MySQL error log and your TxP’s diagnostics.
Thanks!
— Steve
Offline
Re: MLP - The Multi-Lingual Publishing Pack
1. No, mysql errors did not notice.
2. I tried both with prefixes and without them.
Offline
#29 2007-02-06 15:35:10
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
— Steve
Offline
#30 2007-02-07 04:19:24
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
adamtal
You wrote…
Can i have one language as the main site (www.example.com), and a second one as subdomain (fr.example.com)/(de.example.com)?
Just to follow up on your previous post, looks like the very mapping I talked about in my previous reply to you has recently been discussed right here on the forum.
I haven’t yet tried this but it just went on the to-do list!
— Steve
Offline
#31 2007-02-07 06:41:42
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
php4 users
Tentative fixes for your php4 installations. Try replacing these MLP Pack files in your /lib directory…
Please report success or failure here.
All
I’ll be travelling with my family again later today and probably won’t be able to connect for a few days — I’ll work on your issues as soon as I can!
Last edited by net-carver (2007-02-07 06:45:25)
— Steve
Offline
#32 2007-02-07 11:03:07
- Basique
- New Member
- Registered: 2007-02-06
- Posts: 2
Re: MLP - The Multi-Lingual Publishing Pack
net-carver
On the first sight, it’s working very well. I couldn’t find any issue.
Offline
Re: MLP - The Multi-Lingual Publishing Pack
This is absolutely fantastic, and very timely as I’m working on an English/Japanese site at the moment. So far we’ve found MLP to work very well and once we’re a little further on i’ll post a link for y’all to check out.
Two questions though:
- Where’s the tip jar, so we can throw some cash your way for an awesome plugin?
- One feature that would be very useful for us would be a link on the post that showed that particular post was available in another language. Not all posts on our site will be translated into Japanese, and likewise not all those on the Japanese page will make it into English. Different audiences need different content. So, for those posts that are available in both languages, it would be great if once the translation went live, the original post appended an additional link with something like “This post is also available in Japanese” with a link to the translated post.
Great work though, and here’s to more multi-lingual sites.
Offline
#34 2007-02-09 20:11:50
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: MLP - The Multi-Lingual Publishing Pack
I’ve installed mlp on a new install of the 4.04, but the second installed language (French) was not picked up. Why would that be?
Offline
#35 2007-02-09 23:54:45
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: MLP - The Multi-Lingual Publishing Pack
I entered it manually and it worked. Steve, I’ll be dropping some money in you amazon account this weekend mate – this is a great addition to txp.
Offline
#36 2007-02-10 00:54:24
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: MLP - The Multi-Lingual Publishing Pack
Be useful if txp:l10n_if_lang worked with txp:else.
Offline