Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#856 2008-07-20 10:19:36
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
redbot
No worries. Quick question… when you access your local sites what do you type in as the url?
— Steve
Offline
#857 2008-07-20 11:54:26
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
Quick question… when you access your local sites what do you type in as the url?
http://localhost/my_site
Offline
#858 2008-07-22 08:14:24
- mattia.daldegan
- New Member
- Registered: 2008-07-02
- Posts: 4
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
Mattia
Looks like you are running in a subdirectory install. Unfortunately the MLP Pack doesn’t handle this situation and that could be leading to the problems you posted about.
This really isn’t the right thread to talk about setting up txp in it’s own virtual host on apache but it should be pretty easy as I see you’re running Ubuntu. You can google for “virtual hosts ubuntu” or something like that to get a start after the docs you need to do it. I’d suggest searching the forum for apache virtual hosts and if you can’t find anything then how about starting a new thread in “How Do I?” to get some help.
If I remember correctly, there is also a section about this in the textpattern solutions book if you have access to a copy.
Once you have setup a txp in a virtual host then try installing the MLP Pack again and seeing if it is any better.
Following this guide I have done what Steve suggested me about virtual hosts.
All of my problems are flown away. Steeeve, thank you soooo much!!!! :)
Mattia
Last edited by mattia.daldegan (2008-07-22 08:15:54)
Offline
#859 2008-07-22 08:27:54
- jano
- Member
- Registered: 2008-01-09
- Posts: 23
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
jano
That should be very easy. I’ll try to get it done when I look at redbot’s issue.
Thank you Steve for taking it into consideration.
Offline
#860 2008-07-22 13:16:13
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Offline
#861 2008-07-25 13:59:38
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
Jano
Looking at your now problem and I can’t seem reproduce it. Every time I clone an article it retains its original posting date.
I’ve looked through my code and found that a really old version (end 2006) used to reset the article posting time to now() on cloning but I wouldn’t have thought you’d be using it now. What the clone routine does do is set the feed_time and last_modified time to now(). Could you please use something like phpmyadmin to verify the Posted entries for a freshly cloned rendition are losing their original value.
Many thanks!
— Steve
Offline
#862 2008-07-31 20:11:42
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: MLP - The Multi-Lingual Publishing Pack
does the plugin only support the languages that TXP supports as found here; http://rpc.textpattern.com/lang/ ?
If so, I had a request to install Farsi (Persian language), Mandarin, Thai, Portugese, and Spanish. I know Portugese and Spanish is available but what about the other 3? I didn’t see on the link above?
Offline
#863 2008-08-01 02:05:52
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
dreamer
Hello. Firstly, this isn’t a plugin but a modification to standard Txp that includes a couple of plugins and about 10 files; one of which replaces the txplib_db.php file. Beware, if you use the MLP pack then do an upgrade of your txp install you’ll need to reinstall the db file or you’ll get errors.
That said, the MLP Pack can support any language that has an encoding in ISO-639 part 1. Those available on the txp language server are a subset of those possible.
However, you’ll also need to know the language’s native name and iso code before you conclude that there is no translation available for it from the language server. Once you start using the native name you’ll see that Mandarin is called “中文(简体)”,Thai “ไทย”, and both are present. I have no idea how complete or up-to-date they are though.
If you want Farsi (Persian) then you could still use the MLP pack to develop a site which serves up pages in Farsi; but if you want to look at the admin interface in Farsi too then you’ll need to translate all the strings it uses (MLP has features to help you do this.)
Hope that helps.
— Steve
Offline
#864 2008-08-01 20:05:40
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: MLP - The Multi-Lingual Publishing Pack
Thanks Steve-
When you say that you don’t know how complete or up to date they are, are you referring to the strings in the MLP Pack or what is inherent in TXP? I took a look at that list of ISO-639-1 and it seems like all my languages are supported. cool
Offline
#865 2008-08-02 02:37:36
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: MLP - The Multi-Lingual Publishing Pack
Hello,
don’t know if is a problem of mine or if it’s a little bug:
in the file edit page (the page you are directed to when uploading or editing a file) there are as many “description” textareas as my languages are. So far nothing wrong. The fact is the labels for the textareas don’t seem to work properly.
I have three languages installed (english, french, italian) and instead of:
Description
Description
Descrizione
(what I would expect for english, french and italian respectively) I have these labels:
“English (GB)”
“Français”
“Description [Italiano]”
for english, french and italian respectively.
Am I doing something wrong here?
By the way, the more I use the MLP the more I understand what a huge work there is behind it.
Thanks!
Offline
#866 2008-08-02 08:56:57
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
dreamer wrote:
When you say that you don’t know how complete or up to date they are, are you referring to the strings in the MLP Pack or what is inherent in TXP?
I was talking about the translations for Txp available from the Txp language server. The MLP Pack itself comes with English and Ελληνικά (Greek) strings for it’s admin interface. I don’t have any other stringsets available for it — however, there’s a chance someone might have one available in Español (maybe others.) If you were to post a request for that in a new thread (I think only the diehards will be reading this thread by now) you might get lucky.
I took a look at that list of ISO-639-1 and it seems like all my languages are supported. cool
That just means that the MLP Pack can serve public pages using that encoding. Of course, you or your client(s) will have to write the content in those languages.
If you or your site’s administrative users also want to use the admin side of Txp in any of those languages then, AFAIK, you’ll need to do some work to get all the admin strings into Farsi.
If you also want the MLP Pack to integrate into the different language schemes on the admin side then you will also need to provide translations of the MLP’s strings in almost all of those languages too (remember only English and Ελληνικά come provided.)
You’d also need to provide localised stringsets for all of the plugins you plan on using if you wanted your admin users to have a single-language experience on the admin side.
It’s a lot of work all-in-all, and that’s in addition to providing the translated public content.
If you can get by with just English on the admin interface then you’ve already got it and can concentrate on just the public work.
I highly recommend you get familiar with the MLP Pack before you try using it on a client site or closing a deal with a potential client. Please also be aware that the Pack only works well when installed in the root of your site — that means you can’t have it in a sub-directory of a domain…
- it works when txp is installed to serve requests to www.yoursite.com
- it breaks when txp is installed to serve requests from www.yoursite.com/my_mlp_area (including on localhost subdir installs.)
Please try it before committing yourself.
Last edited by net-carver (2008-08-02 09:03:35)
— Steve
Offline
#867 2008-08-02 09:08:05
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
redbot
Hello again.
No, that’s the right output (assuming your Admin language was Italiano at the time you made the observation). However, looking at it now, so far from the time I wrote it, I think it needs reworking.
I’ll see what I can do.
Last edited by net-carver (2008-08-02 09:08:34)
— Steve
Offline
#868 2008-08-02 11:12:50
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: MLP - The Multi-Lingual Publishing Pack
net-carver wrote:
No, that’s the right output (assuming your Admin language was Italiano at the time you made the observation). However, looking at it now, so far from the time I wrote it, I think it needs reworking.
I’ll see what I can do.
Yes, your assumpion is right (note in my previous post I didn’t write the labels in the correct order).
Thank you
Last edited by redbot (2008-08-02 11:27:25)
Offline
#869 2008-08-02 17:13:42
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: MLP - The Multi-Lingual Publishing Pack
Hi Steve,
having started to use the MLP, I thought I would post here my list of suggestions/features.
Please note I’m only talking about minor changes, mainly directed to grant a better usability for non technical users (at least from my point of view). Apart from these the pack is working exceptionally well.
Here are my suggestions (for now):
1) localized “description” label in the “file edit” page (see my previous post)
2) localized category titles in the “file edit” page (now they show always in the default language)
3) localized section titles in the “write” tab (I’ve already mentioned this in a previous post)
4) localized custom fields labels in the “write” tab (I’ve already mentioned this and probably this is not “a minor change”)
That’s all. I’ve posted this list hoping it could be useful to hear some impressions from a new user: it’s not my intention to bother you with endless feature requests!
Offline
#870 2008-08-02 17:27:34
Re: MLP - The Multi-Lingual Publishing Pack
Steve, just wondering if the MLP pack will become a plugin in 4.07 instead of a hack? Is this likely to happen?
Offline