Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-03-24 11:05:22
- Neko
- Member
- Registered: 2004-03-18
- Posts: 458
Possible problem with comment_invite and localization
Hi,
in the process of re-aligning my home page (preview), I’ve found out a minor issue related to comments_invite. My site’s locale is Italian (I’m the actual translator, BTW).
So, the link that comments_invite outputs is the following:
http://www.numerozero.it/giapponeserie/581/gelatine-alla-tequila#commento
Problem is that #commento
doesn’t really exist in my HTML code. While I could easily add said ID, I was wondering if this behavior is intended, or it is due to a mistake I made during the localization of TXP interface. Or is it just that I have an outdated HTML for the comment form?
Thanks for any clarification.
Last edited by Neko (2010-03-24 11:08:02)
Offline
Re: Possible problem with comment_invite and localization
Neko wrote:
Problem is that
#commento
doesn’t really exist in my HTML code.
Hmmm, can you alter the Form where your comments are displayed to encompass this construct:
<some_tag id="<txp:text item="comment" />">Comments</some_tag>
That should get the localised string and add it to the page. Umm, I think.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline