I’ve got a small site (on Ubuntu 10.04.3LTS) set up to which I’ve added a small amount of code to comment.php (from twentyten via child theme) so that some text is swapped based on page language set in WPML.
The problem is that only *some* of the code works, but there’s no obvious reason why.
I followed the instructions as best I could that I’d found here and here.
In particular, the author and URL label’s aren’t being translated. All of the other text is rendering correctly (ie, I get ‘Envíe su mensaj’ instead of ‘Post Comment’ as I would expect to).
(@datakid)
14 years, 3 months ago
Hola,
I’ve got a small site (on Ubuntu 10.04.3LTS) set up to which I’ve added a small amount of code to comment.php (from twentyten via child theme) so that some text is swapped based on page language set in WPML.
The problem is that only *some* of the code works, but there’s no obvious reason why.
I followed the instructions as best I could that I’d found here and here.
I started with this code:
[Code moderated as per the Forum Rules. Please use the pastebin]
In particular, the author and URL label’s aren’t being translated. All of the other text is rendering correctly (ie, I get ‘Envíe su mensaj’ instead of ‘Post Comment’ as I would expect to).
You can see here the English and then the Spanish
Any ideas?