Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#211 2007-04-04 03:37:02

guiguibonbon
Member
Registered: 2006-02-20
Posts: 296

Re: MLP - The Multi-Lingual Publishing Pack

ivorius : geez, waw. What is happening there?

There’s little evidence this is in anyway tied to MLP though, you might want to start a new thread. There are a few things you might test (direct link to file vs. mysite.com/file_download/##, test with other word document, open with other application, etc.), and a link to the document would be useful as well. But doing it here would polute this thread.

Offline

#212 2007-04-04 08:04:16

ivorius
Member
From: Czech Republic
Registered: 2005-06-26
Posts: 21
Website

Re: MLP - The Multi-Lingual Publishing Pack

guiguibonbon wrote:

There’s little evidence this is in anyway tied to MLP though, you might want to start a new thread. There are a few things you might test (direct link to file vs. mysite.com/file_download/##, test with other word document, open with other application, etc.), and a link to the document would be useful as well. But doing it here would polute this thread.

No no, it is identical document opened in same application – open office. But after install mlp pack and upload document to textpattern, data are damage. Whitout mlp pack it´s all right.

Offline

#213 2007-04-04 19:10:49

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: MLP - The Multi-Lingual Publishing Pack

Hello all,

Just wondering if anyone has the latest MLP pack working with zem_contact_reborn and zem_event_calendar? I need both working with MLP for a site and would appreciate hearing if anyone has the 2 plugins working with MLP. Thanks..

Offline

#214 2007-04-04 21:45:20

coneff
New Member
Registered: 2007-04-04
Posts: 1

Re: MLP - The Multi-Lingual Publishing Pack

hi, i have some problem with MPL on fresh TXP.

MLP Pack Setup Report…

1.Change the txp_lang table… 1.Extend `txp_lang.data` from TINYTEXT to TEXT : Done 2.Add the `txp_lang.l10n_owner` field : Done 2.Set the languages to: en-gb, cs-cz : Done 3.Insert the strings for the MLP Pack : Done 4.Add fields to the “textpattern” table 1.Add the `textpattern.l10n_lang` field : Done 2.Add the `textpattern.l10n_group` field : Done 5.Localise fields in content tables… 1.Add the `txp_category.l10n_title_en_gb` field : Done 2.Copy defaults to `txp_category.l10n_title_en_gb` field : Done 3.Add the `txp_category.l10n_title_cs_cz` field : Done 4.Add the `txp_file.l10n_description_en_gb` field : Done 5.Copy defaults to `txp_file.l10n_description_en_gb` field : Done 6.Add the `txp_file.l10n_description_cs_cz` field : Done 7.Add the `txp_image.l10n_alt_en_gb` field : Done 8.Copy defaults to `txp_image.l10n_alt_en_gb` field : Done 9.Add the `txp_image.l10n_alt_cs_cz` field : Done 10.Add the `txp_image.l10n_caption_en_gb` field : Done 11.Copy defaults to `txp_image.l10n_caption_en_gb` field : Done 12.Add the `txp_image.l10n_caption_cs_cz` field : Done 13.Add the `txp_link.l10n_description_en_gb` field : Done 14.Copy defaults to `txp_link.l10n_description_en_gb` field : Done 15.Add the `txp_link.l10n_description_cs_cz` field : Done 16.Add the `txp_section.l10n_title_en_gb` field : Done 17.Copy defaults to `txp_section.l10n_title_en_gb` field : Done 18.Add the `txp_section.l10n_title_cs_cz` field : Done 6.Add the l10n_articles table : Done 7.Process all existing articles : Done 8.Add the per-language article tables… 1.Add the English (GB) [l10n_txp_en_gb] table : Failed 2.Add the Čeština [l10n_txp_cs_cz] table : Failed 9.Clear the default comment invitation : Done 10.Insert MLP tags into pages : Done 11.Set site slogan to reflect the browse language : Done

Diagnostic info

Textpattern version: 4.0.4 (r1956)
Last Update: 2007-04-04 17:32:04/2006-08-31 15:47:58
Document root: C:/www (C:\www)
$path_to_site: c:\www\textpattern
Textpattern path: c:\www\textpattern\textpattern
Permanent link mode: section_id_title
Temporary directory path: c:\www\textpattern\textpattern\tmp
Site URL: 127.0.0.1/textpattern
PHP version: 5.1.6
Register globals: 1
Server Local Time: 2007-04-04 23:44:19
MySQL: 5.0.24a-community-nt
Locale: English_United Kingdom.1252
Server: Apache/2.2.3 (Win32) DAV/2
PHP Server API: cgi-fcgi
RFC 2616 headers:
Server OS: Windows NT 5.1
Active plugins: zem_contact_lang-mlp-4.0.3-MLP, gbp_admin_library-0.4.581, l10n-0.6.600

Pre-flight check:
————————————
Web Domain DNS lookup fails: 127.0.0.1
Some Textpattern files have been modified: /lib/txplib_db.php
clean_url_data_failed: 
————————————

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 1

————————————

Offline

#215 2007-04-05 10:26:04

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: MLP - The Multi-Lingual Publishing Pack

coneff wrote:

hi, i have some problem with MPL on fresh TXP.
Document root: C:/www (C:\www)
$path_to_site: c:\www\textpattern
Textpattern path: c:\www\textpattern\textpattern

This doesn’t look right.

Pre-flight check:
————————————
Web Domain DNS lookup fails: 127.0.0.1

Make sure, that you have a real virtual domain setup first, with your testing domain name set up in your hosts file.
Istructions here

Also, make sure, that you have a working TXP installation PRIOR setting up the MLP Pack.

  • Test, that the backend is accessible
  • Test that all public pages are working with set URL mode, including the permlink URL’s

Then, when all that works, set up the MLP pack and watch for Errors.

regards, marios

Last edited by marios (2007-04-05 10:30:18)


⌃ ⇧ < ⌃ ⇧ >

Offline

#216 2007-04-07 07:53:29

sanmarco
Member
From: austria
Registered: 2007-03-22
Posts: 31
Website

Re: MLP - The Multi-Lingual Publishing Pack

hi@

i’m still have the problem when i aktivate the |10_n pac to start than i get this internal server error.
I really would like to know how can i solve this problem. I’m still coming not further. I really appreciate any help.

thanks a lot
sanmarco

Offline

#217 2007-04-07 08:20:27

sanmarco
Member
From: austria
Registered: 2007-03-22
Posts: 31
Website

Re: MLP - The Multi-Lingual Publishing Pack

so now i’m one more step further but now the next block, when i click to MLP is comng this message:

Warning: The host or user argument to GRANT is too long SHOW GRANTS FOR ‘…..’; textpattern/lib/txplib_db.php:361 getrows(SHOW GRANTS FOR ‘…@… ‘;, ) in /mnt/jd1/05/866/00000012/htdocs/blog/textpattern/lib/txplib_db.php on line 117

and:

MLP Pack Detected Version Problems
The MLP Pack cannot operate in this installation because…

It requires MySQL Privileges 1 SELECT, INSERT, UPDATE, DELETE, CREATE, CREATE TEMPORARY TABLES, ALTER, LOCK TABLES, INDEX, DROP or above, current install is missing privs – or grants on DB (`….` as `…..`) cannot be evaluated.

what i need to do now?
again, appreciate your help or idea. THanks a lot

sanmarco

Offline

#218 2007-04-07 08:46:37

sanmarco
Member
From: austria
Registered: 2007-03-22
Posts: 31
Website

Re: MLP - The Multi-Lingual Publishing Pack

fine, i just sovle the problem i download the new version of MLP and it works, great!

Offline

#219 2007-04-08 17:22:22

sanmarco
Member
From: austria
Registered: 2007-03-22
Posts: 31
Website

Re: MLP - The Multi-Lingual Publishing Pack

well, a bit later, so far so good, almost everyhing works fine but when i open the german version http://loop-art.eu/blog …it is ok than i click to english and it shows

http://loop-art.eu/blog/en/blog no page is found error message appears.. …andthere is not really a “en/blog” folder in my remote directory. (??)
Do i need to prepair this en/blog folders?

Is it may depence from the .htaccess file? This file i deleted because if i try to use it than i get this “internal error message”. Do I need this .htacces file touse MLP properly or it works without too?

really appreciate your help
sanmarco

Offline

#220 2007-04-09 14:12:58

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: MLP - The Multi-Lingual Publishing Pack

I think i’ve found an error. Both Chinese languages have the same link. On two of my sites on different severs you can only access 中文(简体) language.

<li class="zh-cn"><a href="http://mysite.com/zh"><span dir="ltr">中文(简体)</span></a></li>
<li class="zh-tw"><a href="http://mysite.com/zh"><span dir="ltr">中文(國語)</span></a></li>

Offline

#221 2007-04-10 13:11:41

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: MLP - The Multi-Lingual Publishing Pack

I am having issues running both MLP and the new zem_event plugin. It appears (according to Zem) that MLP changes queries on the fly, which then affects zem_event.

Zem’s post in the zem_event topic is here:
http://forum.textpattern.com/viewtopic.php?pid=145781#p145781

I need MLP and zem_event for a site I am working on (4 languages and many events) so it would be good if this could be resolved…

Offline

#222 2007-04-10 14:04:52

dmytton
New Member
Registered: 2007-04-10
Posts: 1

Re: MLP - The Multi-Lingual Publishing Pack

There is a fatal error if you try and use this plugin on PHP 5.2.0:

PHP Fatal error: Call to a member function pref() on a non-object in /home/ec/public_html/textpattern/lib/l10n_admin.php on line 490

Can this be fixed?

Offline

#223 2007-04-11 17:41:16

millo
Member
From: Spain
Registered: 2007-01-25
Posts: 21

Re: MLP - The Multi-Lingual Publishing Pack

Hi,

I’m quite excited to try this product out. I was just wondering if anyone has discussed how to switch page templates dynamically depending on what language is chosen?

Or should I start a new thread for that?

Thanks,
M

Offline

#224 2007-04-11 18:06:55

guiguibonbon
Member
Registered: 2006-02-20
Posts: 296

Re: MLP - The Multi-Lingual Publishing Pack

millo,

you could put your templates in forms, and call them archive_en, archive_it, etc. and add <txp:form_output name="archive_##lng##"/> in the archive page. All you have to do then is to translate the lng snippet into corresponding language acronyms. Did that make sense to you?

Offline

#225 2007-04-11 21:29:34

millo
Member
From: Spain
Registered: 2007-01-25
Posts: 21

Re: MLP - The Multi-Lingual Publishing Pack

guiguibonbon,

thanks for your response. i think i understand and i think that in this case it could work. i think where this could be a problem is if for example you were to have a site that’s 2 columns, one narrow column on the left for the navigation and one wide column on the right for the content and each of those had to flip around so that the right column is on the left and the left column on the right and each of those columns required some kind of listing. that would mean that the listing would probably have to be a form no? then that probably wouldn’t work just because that would mean then including a form within a form and I am assuming that you can’t include one form within another right?

In any case, that is not the case with the site i’m building. it would be a standard navigation on the left and content on the right, which when selected in arabic would then flip horizontally (and convert to rtl flowing text).

if anyone thinks there is a better way of doing this then I would be open to all available suggestions.

thanks!

Offline

Board footer

Powered by FluxBB