Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#181 2006-02-04 13:40:19
Re: Plug-in: zem_contact_reborn
Well my thinking was that there could be a single plug-in, like zem_contact_lang, which could contain all text outputs from all plug-ins. As it is a public-side plug-in anything can link to it with the correct call. You could then take it one step further and have translations maintained by interested individuals. The only problem I foresee is that it would change quite regularly with so many plug-ins being dependant on it plus new plug-ins being added all the time. And there would need to be some kind of common protocol which may be problematic for existing plug-ins.
As I say, it was just a passing thought and I’ve let it pass me by for now. ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#182 2006-02-05 08:40:55
- -P-
- Member
- From: Finland
- Registered: 2005-09-10
- Posts: 211
Re: Plug-in: zem_contact_reborn
<blockquote>
> thebombsite wrote:
So are you going to supply the Dutch version then, and a French one from Jeremie, a German one from Alexandra, a Finnish one from p and the list goes ever onwards? ;)
</blockquote>
Yes, P makes finnish translation!
I´ve been testing the plugin again now, trying to reproduce all possible errors etc.
Might be again that I am just messing up but is translation option for “Name” missing?
Then, what is the difference between and occasions used with <code>‘message’</code> and <code>‘text’</code>? I am only able to produce errors that pull out the translation of <code>‘message’</code>.
edit: ok, found the contex for <code>‘text’</code>. I guess it is for additional fields, for example if there is field called “Your company” but no label definied it outputs translation for text.
Last edited by -P- (2006-02-05 10:11:47)
Offline
#183 2006-02-05 11:58:05
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Plug-in: zem_contact_reborn
Might be again that I am just messing up but is translation option for “Name” missing?
It looks like it’s missing, had not noticed that before… But for ‘name’, ‘email’ and ‘message’ you can also use the label attribute in your tags.
Offline
#184 2006-02-05 12:25:51
Re: Plug-in: zem_contact_reborn
It’s not missing, because the error messages related to a text input field (as is the input field for the name) are using the label of the field: $zem_contact_error[] = zem_contact_gTxt(‘field_missing’, $label);
The translations are only used for the error messages or as default values (which can be specified differently in the tags) for the input fields. So by defining the label, you can define the translation.
Last edited by tranquillo (2006-02-05 12:29:07)
Offline
#185 2006-02-05 13:47:28
Re: Plug-in: zem_contact_reborn
Did you understand that P? :)
Last edited by thebombsite (2006-02-05 13:53:34)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#186 2006-02-05 18:08:19
- -P-
- Member
- From: Finland
- Registered: 2005-09-10
- Posts: 211
Offline
#187 2006-02-05 22:07:28
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: Plug-in: zem_contact_reborn
Along with the redesign of TXP Magazine i will install and test the latest reborn version. I can deliver a german translation and host it on the german TXP Blog if you want me to. Just let me know.
Offline
#188 2006-02-06 09:34:58
- -P-
- Member
- From: Finland
- Registered: 2005-09-10
- Posts: 211
Re: Plug-in: zem_contact_reborn
I will get my new “work site” out this week. So if it is better that translations are hosted on their authors sites, that is ok for me too!
Offline
#189 2006-02-06 10:36:17
Re: Plug-in: zem_contact_reborn
All fine by me. When people have these translations done, if you tell me where they are, I will point to them in the top post.
And I haven’t added the plug-in to the TXP Resource site. I suppose I ought to really hadn’t I?
Last edited by thebombsite (2006-02-06 10:38:05)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#190 2006-02-06 14:54:31
Re: Plug-in: zem_contact_reborn
Version .15 released. Now removing tags from the article when using the “Send to a Friend” function. We are still looking at quotes and apostrophes which remain coded as HTML. May have something to do with “pretty quotes”, but I’ve released this “as is” because the articles definitely look a lot neater now.
Last edited by thebombsite (2006-02-06 14:55:14)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#191 2006-02-06 19:49:19
Re: Plug-in: zem_contact_reborn
<code>Fatal error: Call to undefined function zem_contact_gTxt()</code>
I get this error with the latest version, anyone else?
Edit: God I’m dumb sometimes. rtf instructions. Not sure I like having to have a seperate plugin though. That means 2xEverysite.
Last edited by mrdale (2006-02-06 19:55:09)
Offline
#192 2006-02-06 20:04:21
Re: Plug-in: zem_contact_reborn
Ha ha. Yes but you speak English and it’s not like it’s going to change that often. More or less “install it and forget it”. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline