Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#637 2008-02-27 17:25:43
Re: MLP - The Multi-Lingual Publishing Pack
The changes in txplib_db.php code between 4.0.5 and 4.0.6 are minimal and shouldn’t affect MLP. In fact if you’re not running in debug mode and your preferences can be loaded from the database and your database isn’t down, there’s no difference at all.
Offline
#638 2008-02-27 17:52:41
Re: MLP - The Multi-Lingual Publishing Pack
maniqui wrote:
Or better asked: did you keep txplib_db.php?
I use txplib_db.php from latest MLP and everything works perfect.
Because 4.0.6 txplib_db.php doesn’t include the MLP needed code. I just finished merging differences between MLP txplib_db.php and 4.0.6 txplib_db.php. Haven’t tested it yet.
If you want to help I would test your modified txplib_db.php
Also, did you need to add (to the plug-in code) something related to the tabs? I understand that 4.0.6 requires to add to plug-ins some code related to privilegies and tabs, but not sure if this applies to MLP tabs.
I did add nothing, only small fix to make download work correctly.
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
#639 2008-02-28 09:43:40
Re: MLP - The Multi-Lingual Publishing Pack
I’m building the web site in 3 languages. Everything works fine, there is just one thing:
when I want to preview the site, it opens up in english. How can I choose which language to be default when somebody visits the web site?
In the admin>preferences > language > Currently active language what ever I put it always opens up in english when I go to view site.
I’m working on local server, xampp instaled.
Thanks.
Offline
#640 2008-02-28 10:26:24
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: MLP - The Multi-Lingual Publishing Pack
Could someone post the updated 4.0.6 txplib_db.php file?
Offline
#641 2008-02-28 11:40:01
Re: MLP - The Multi-Lingual Publishing Pack
Ok, I found that the default language depends on the browser settings.
In my Firefox it is english, so it doesnt matter that in MLP settings in languages: sr-rs,ru-ru,en-gb, english is last.
How can I avoid this, becouse 99.99% of people doesnt know anything about setting the default language in their browser.
Offline
#642 2008-02-28 12:02:39
Re: MLP - The Multi-Lingual Publishing Pack
FireFusion wrote:
Could someone post the updated 4.0.6 txplib_db.php file?
OK, I have create a pastebin with the file contents: http://pastebin.com/f313f1d89
As Ruud said, there are not too many differences between 4.0.5 txplib_db.php and 4.0.6 txplib_db.php are minimal.
Few hours ago, I’ve updated a site to 4.0.6 and MLP and it seems to be working fine.
Offline
#643 2008-02-28 18:43:26
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: MLP - The Multi-Lingual Publishing Pack
Thank you!
Offline
#644 2008-02-28 18:50:11
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: MLP - The Multi-Lingual Publishing Pack
Hmm got the following error on upgrading but otherwise seems ok. Is this a problem?
A problem occured while loading the plugin: l10n -> Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object on line 553
A problem occured while loading the plugin: l10n -> Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object on line 553
A problem occured while loading the plugin: l10n -> Warning: Cannot use a scalar value as an array on line 1421
Offline
#645 2008-02-28 19:39:00
Re: MLP - The Multi-Lingual Publishing Pack
I think I got the same error after upgrading, but as in your case, it worked fine for me…
Offline
#646 2008-03-01 11:25:21
Re: MLP - The Multi-Lingual Publishing Pack
Any help for me, please, how to choose a default language no matter what the browser settings are?
Offline
#647 2008-03-04 16:50:29
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: MLP - The Multi-Lingual Publishing Pack
We have several languages in use. If we import data from excel to our main lang, how this should be managed with MLP? It has those own additional tables for each langs. Is this even possible?
Offline
#648 2008-03-04 17:29:16
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
Ultramega: I’m not sure I understand what you’re trying to do. In particular, I don’t understand what you’re planning to do with Excel data in Textpattern.
The MLP has several different ways in which it helps us manage multiple languages. In every case, you have to do the translations yourself. MLP does not do automatic translations.
If you have an article (which might be a static web page or a blog entry), it will provide an easy way to manage the versions in different languages.
If you have little chunks of text used in your templates and forms, it will keep track of those, too, and provide a means for you to create versions of them in each language. Similarly, it will give you the opportunity to translate things like section names and category names.
If that doesn’t help, you’ll have to explain in more detail what you want to do.
Offline