Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#985 2008-10-04 12:08:41

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote:

Not sure, that should work. Only thing I can think of right now is to make sure your local site isn’t in debug and try again. Could you email me clearly relabelled export files from both sites for the nl-nl translations please and I’ll install nl-nl on my test server and give try it out.

It doesn’t work in live mode either. Email is on it’s way. Thanks for having a look!

Offline

#986 2008-10-04 16:37:11

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: MLP - The Multi-Lingual Publishing Pack

Hello Steve,
I hope it’s not another stupidity attack from me, anyway I have noticed a little glitch (not a big problem actually):
I installed zem_contact_reborn and I noticed some unexpected code appended to my contact form ( a div element with class “screenreader” with a “phone” and a “address” input field).
After a little investigation I found out that the appended code is generated by your “sed_plugin_library” plugin.
Is this normal? Once again, this is not a real problem for me (I can hide the appended code with css), just wanted to let you know.

Offline

#987 2008-10-04 17:16:37

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

All

Els’ import problem is found and fixed, that’ll be in the next release.

redbot

Sounds like you have an older version of my library plugin. I made the mistake of releasing one older version with that enabled. What version of my library plugin is showing in your install? You can grab the latest version of the library plugin from http://txp-plugins.netcarving.com/plugins/plugin-library.

beztak

Currently MLP only does per-directory exclusions so the favicon will need pushing down into an excluded directory. You could probably get around this with an .htaccess rewrite rule.


Steve

Offline

#988 2008-10-04 17:36:54

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: MLP - The Multi-Lingual Publishing Pack

Steve,
Ok you are right, I was using 0.4.118. With the recent release the problem is solved.
Thank you.

Offline

#989 2008-10-06 15:45:29

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: MLP - The Multi-Lingual Publishing Pack

On file l10n_langs.php.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#990 2008-10-06 15:53:55

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: MLP - The Multi-Lingual Publishing Pack

one little thing that might be a bug.
When i log onto the txp install with mlp and click mlp>> prefs i have to relog on to txp admin.
Doesnt bother me but thought i should make a not of it here.


its a bad hen that wont scratch itself.
photogallery

Offline

#991 2008-10-06 22:27:28

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

Why is it that in the ‘Plugins’ tab l10n has 136 strings, and in Snippets > Search when I search for ‘l10n’ 147 strings are found? And in Export/Import, when I choose ‘Export MLP Pack Strings’, I get a php file with 145 strings…

Offline

#992 2008-10-07 00:49:17

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

Els

Is this a fresh install? Or has it had more than one version of the pack installed at any point — if so, that will probably account for the difference between the reported plugin strings and the actual number of strings. However, I’m curious about the 147 to 145 difference — wonder what that could be?


Steve

Offline

#993 2008-10-07 13:55:05

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

net-carver wrote:

Is this a fresh install? Or has it had more than one version of the pack installed at any point — if so, that will probably account for the difference between the reported plugin strings and the actual number of strings.

No, I upgraded from 0.7.636 to 0.8.7 (and it has probably been an even earlier version before that, but I don’t remember exactly), then copied the site to local. On the live site I didn’t make any further changes, and there the plugins tab has 111 strings, and snippets > search for l10n has 129. The php file from the export/import tab also has 145 strings.
I finished the translation in the local install, did a cleanup and a re-install there, and ended up with 136/147 strings.
So when I will eventually export the plugin strings to the .inc file, will all strings be there or just 136 of them? I definitely translated 147 strings… ;)

However, I’m curious about the 147 to 145 difference — wonder what that could be?

I’ll try and find the two strings that are missing and post them here. (Edit: see here.)

What is the purpose of the php file by the way? If someone wants to install another language, does he need the .inc file or the php file?

Last edited by els (2008-10-07 19:33:50)

Offline

#994 2008-10-07 16:09:58

azw
Member
Registered: 2007-01-29
Posts: 279

Re: MLP - The Multi-Lingual Publishing Pack

I have a test site that I previously used with the MLP on another project. I don’t need MLP in the new project, so I’ve disabled the MLP plug-in, deleted and reuploaded all the textpattern files, and deleted all references to l10n in the templates (pages, forms, & style sheet).

But I still get this error:

Fatal error: Call to undefined function l10n_get_lang() in /home/SITE_DOMAIN/public_html/textpattern/lib/txplib_misc.php(574) : eval()'d code on line 18

Where is this coming from? Is there a fix?

Yep, I probably should have wiped out my database, but I wanted to reuse the templates.

Last edited by azw (2008-10-07 16:10:28)

Offline

#995 2008-10-07 19:31:24

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: MLP - The Multi-Lingual Publishing Pack

OK I don’t know if this is at all important, but here goes:

The 2 strings that are not in the php file are

l10n-explain_no_tags
l10n-matches

The 11 strings that are not displayed in the plugins tab are

l10n-add_missing_rend
l10n-cannot_delete_all
l10n-email_body_other
l10n-email_body_self
l10n-email_end
l10n-email_xfer_subject
l10n-localised
l10n-missing_rendition
l10n-no_rend_matching_id
l10n-send_notifications
l10n-setup_4_main

Steve, can you let me know if an .inc file with probably these strings missing will be good enough to post in the strings exchange thread?

Offline

#996 2008-10-08 00:38:54

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: MLP - The Multi-Lingual Publishing Pack

azw wrote:

Where is this coming from? Is there a fix?

Did you remember to replace the file txplib_db.php with an original txp one?

Els

Thanks for the report on those strings. If you have access to phpMyAdmin, you can use that to look at those strings in the txp_lang table (just use a search like 10n-% on the name field to see them all.) Are they missing entries on the l10n_owner field?

You can always export the strings and then paste them into the import box (of another install if you are worried) and hit import — all the strings should be previewed before import so you could then look at what’s included in the actual file.


Steve

Offline

Board footer

Powered by FluxBB