Not all strings appear

portulaca - September 5, 2009 - 20:40
Project:Localization client
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I'm trying to translate some modules but when I search for the string in question (en) nothing is found. I checked in the module's name.module file and saw the strings are in t() function.

Am I missing something?

#1

Gábor Hojtsy - September 7, 2009 - 08:19
Status:active» postponed (maintainer needs more info)

Is that string actually displayed on the page you are on when searching?

#2

portulaca - September 14, 2009 - 00:47

Yes, that's why it was weird. I was looking at the word and typing it in, in correct case or any case, and still the search was empty.

In the meantime I imported a .po file of one module I translated using Gtranslator, and now those strings I couldn't find before are there (they aren't from the module I translated using Gtranslator.) I don't know if this had anything to do with it, just thought it was worth mentioning.

I'll report if I encounter more cases.

#3

nirbhasa - September 19, 2009 - 20:11

I can verify this - In my case I am missing block titles, and also text strings inside template.php functions which I had wrapped in t(). All of these can be found using search function at /admin/build/translate/search

#4

dodazzi - October 6, 2009 - 22:40

I'm having the same issue. Strings inside template.php functions don't show up.

#5

Gábor Hojtsy - October 7, 2009 - 06:26

But they are displayed on the page you are viewing of the site?

#6

dodazzi - October 8, 2009 - 09:20

Yes, they are displayed and can correctly found on /admin/build/translate/search

#7

Gábor Hojtsy - October 8, 2009 - 09:42

@dodazzi: can you put up a screenshot of the string being displayed AND the l10n_client showing on the same page not displaying the string?

#8

dodazzi - October 11, 2009 - 21:12

I tried to replicate the problem, but it works now.
So I'm sorry I think there should have been a problem with the cache.
I now correctly see strings on template.php .

 
 

Drupal is a registered trademark of Dries Buytaert.