[support] Translating strings added using ConTemplate

Neil: esl-lounge.com neil at esl-lounge.com
Thu Apr 12 08:53:56 UTC 2007


I have just checked. I did a search for "Wibbly" in the whole of my drupal 
mysql db and the only occurence was in dru_contemplate which is the actual 
place I saved it.

<a href="/profile/<?php print $node->user->uid ?>"><?php print t('My 
Wibbly'); ?></a><br>

So it hasn't been saved as a text string in any other place across the db, 
which is clearly why the Manage Strings tool isn't picking it up. Is there 
something I can do to resolve this problem? I now have untranslatable 
strings it seems!

Neil


----- Original Message ----- 
From: "Gerhard Killesreiter" <gerhard at killesreiter.de>
To: <support at drupal.org>
Sent: Thursday, April 12, 2007 10:39 AM
Subject: Re: [support] Translating strings added using ConTemplate


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Neil: esl-lounge.com schrieb:
>> This is what I now have:
>>
>> <div style="background-color:#efefef;width:200px;height:30px;border:3px
>> outset silver;font-size:1.1em;list-style-type:none;">
>> <a href="profile/<?php print $node->user->uid ?>"><?php print t('My
>> Wibbly'); ?></a>
>> </div>
>>
>> (I've used Wibbly instead of Profile to make string searching easier!!)
>>
>> The output is perfect but I still can't find that string using
>> Admin/Localization/Manage Strings. Is this syntax correct?
>
> Yes, it is, I fail to see why it wouldn't work. Can you have a look
> directly at the locales tables if the string is in there?
>
> Cheers,
> Gerhard
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFGHfBQfg6TFvELooQRAu6eAJ9mE85F0kUBd/HG/viUWOsCTizbjACfbOoq
> JXcnAOR2DZDLfKg4SPC1MtE=
> =tkN2
> -----END PGP SIGNATURE-----
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]
> 



More information about the support mailing list