Closed (fixed)
Project:
Search by Page
Version:
7.x-1.x-dev
Component:
Translation/Internationalization
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2010 at 11:02 UTC
Updated:
26 Sep 2011 at 15:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
jhodgdonI will look into this... But in the meantime, can you confirm that you have set up a search environment and saved the settings for it? You won't get any translation strings until you have set up your search environment. Also (I don't have my test box running at the moment so I am working from memory here), I think there is some sort of a "reset" button on the translation page that will ask it to do a clean search instead of relying on its cache, so you might need to try that.
Comment #2
jhodgdonAfter you have made sure to save your environment, try the Refresh tab on the Translate Interface page:
admin/build/translate/refresh
This should fix your problem. If not, please feel free to ask another question and/or reopen this issue.
Comment #3
paymentadmin commentedThanks for you answer. Of course, I set up my search environment, and I succesfully using your module for searching pages.
And there's a text in "Edit path" page:
"Enter the title, type, and snippet above in your site's default language. If you have a multi-lingual site with the Internationalization project's String Translation module installed and enabled, you can use Drupal's translation interface to translate them."
I supposed to get needed strings in String Translation, but I haven't.
There is a "Refresh" button in "admin/build/translate/refresh", but it didn't help me.
Comment #4
paymentadmin commentedI find where was a problem. I set up permission for indexing to unregistered user. Now problem fixed.
Comment #5
jhodgdonGlad it is working for you now... I am not sure why that permission would change anything in the translation interface, but you never know.
Comment #7
kemo1 commentedI try to translate search by page form strings (title, label, button), no problem with the title, but i haven't label and button strings in String Translation.
I tryed with an empty drupal and only Search by Page and i18n modules, i have the same problem.
Comment #8
jhodgdonDid you try the steps suggested above in comment #2?
Also, which versions of Search by Page, Internationalization, and Drupal are you using, and what steps did you follow that led you to think you have a problem?
I apologize in advance that I am on a bicycling vacation right now, so I am not on the Internet much... I can't really help you try to resolve this problem for the next 10 days or so, so you will probably need to try some things on your own first.
Comment #9
kemo1 commentedThanks for you answer.
I tried many modules versions :
- Search by Page 6.x-1.10, 6.x-1.11 and 6.x-1.12,
- Internationalization 6.x-1.4 and 6.x-1.7
- Drupal 6.17 and 6.19
I also tried the "refresh" button, but only the page title appears in the translatable strings list
Comment #10
jhodgdonAre you still having this problem? Hopefully you have resolved it by now. If not, please set the status back to "Active" and let me know what you have tried. One other piece of information that would be handy to know is what Internationalization sub-modules you have enabled, and whether you can translate things from other contributed modules or if it is just Search by Page that is the problem for you.
Comment #12
sapox commentedHi, this problem still exists.
The search by page form shows only the title translated, but not the button nor the label next to the input text.
I'm using the version 6.x-1.14 with submodules node and path enabled.
Also using i18n-6.x-1.9 with
String translation
Block translation
Content type translation
Menu translation
I tried the solution suggested in #2, Clearing the cache, etc.
The strange thing is, for example, the 'Search for' string is translated in i18n but the form simply doesn't show it.
Any idea how to solve this?
Comment #13
jhodgdonI'll check into it. Perhaps the i18n module has changed how it does things.
Comment #14
sapox commentedAny news?
Comment #15
jhodgdonSorry, I've been really busy, and I'm at DrupalCon this week, and on vacation next week... don't expect quick action... If someone else has time to look into it, that would probably speed progress.
Comment #16
jhodgdonI am finally returning to this issue.
It appears that the Internationalization module has changed how it is doing things, and I have confirmed what you are seeing. Actually, it is even worse on my test site. I set up a test SBP environment with some kind of stupid values for the labels (see screen shot). Then I went to the Translate Interface page, and it couldn't find any of the strings I had entered, even after a refresh, so I didn't even have the chance to translate them.
So I will need to redo how SBP is telling Internationalization about its strings, because it has changed since the module was written. Sorry about that! I have a long plane ride ahead of me tomorrow and hopefully I will be able to fix the problem then.
Comment #17
jhodgdonForgot the attachment
Comment #18
jhodgdonYes, the i18n module has changed how it does things. I have some work to do in both Drupal 6 and Drupal 7 to be compatible with the current version. Sigh.
Comment #19
jhodgdonUpdating to reflect that this is a task and not a support request. I'm working on it -- I think I have 6.x done but I'm also writing a test. Then I'll tackle 7.x. Should have something soon...
Comment #20
jhodgdonThe changes for version 6.x have been committed to the 6.x development version (to download from zip, wait up to 12 hours for the zip to update). I'm working on 7.x now and will report back.
Comment #21
jhodgdonThis update has now been added to the 7.x branch as well. Wait 12 hours or so to download from the project page as a zip/tar.gz... I should be releasing a new version of both 6.x and 7.x soon too, as there have been quite a few bug fixes.
Comment #22
sapox commentedExcelent!
I'll test it in the next days.
Comment #23
sapox commentedIt is working properly in 6.x-1.x-dev, although you must apply a refresh string in the i18n for the group Search by Page. (admin/build/translate/refresh). Otherwise didn't work.
Thx.
Comment #24
jhodgdonThanks for testing! I am pretty sure Drupal 7 will work too (since I put in automated tests for both d6 and d7), but if someone could confirm, that would be helpful.