Closed (fixed)
Project:
Localizer
Version:
5.x-3.5
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2008 at 20:42 UTC
Updated:
31 Jul 2008 at 06:53 UTC
Hi,
I've installed Localizer, but the strings translation doesn't work. It basically doesn't find anything to "translate". Whatever I modify in the search options - nothing is found. Thus I can't translate neither taxonomy terms, nor views' table headers (do I understand correctly that it's done via the strings translation?)
First I thought the problem was with my version of Drupal (5.4). So, I've upgraded to 5.7 and reinstalled Localizer - same problem. Running update.php doesn't help either.
Everything else works fine (node translation, block with language selection options, etc).
Any ideas?
Comments
Comment #1
Roberto Gerola commentedIt works.
You have only to save your menu items again.
They are not yet stored in localizertranslation table.
Probably you have installed localizer after have created your website.
Roberto
Comment #2
costinius commentedNow when I try to save a vocabulary, I get this...
Fatal error: Call to undefined function localizer_get__default_language() in ...\modules\localizer\modules\localizertaxonomy.module on line 24
Comment #3
costinius commentedOk, I removed one underscore sign in the localizer_get__default_language() and it seems there's no error anymore. But after I re-save either taxonomy terms or views, strings translation still doesn't find anything. Just blank search results.
Is there anything more I need to change in the core files except for settings.php? Also, I placed Localizer directly under www.example.com/modules/localizer - can it be the reason for the problem? (Note, I changed the settings.php file accordingly).
Comment #4
olio commentedHi,
I've the same issue: I tried to translate some custom menu items (menu items defined in the admin backend). But I never get any search result afterwards when entering the exact string of a newly saved menu item string in the strings translation search.
Some observations:
- Since I installed localizer.module, I get a white screen when saving the menu item... (I'll open a separate issue for this)
- The db table localizertranslation stays empty after saving/ updating a menu item through the menu administration.
- But the menu item does get inserted in this table, when I change the menu settings of the related node content page. BUT: Afterwards the menu item won't show up anymore in the menu administration...
thanks
Comment #5
Roberto Gerola commentedYou can translate through localizer only menu items you created or modified.
Menu items provided by Drupal core or contrib modules are translatable through the locale interface.
Comment #6
Mac Clemmens commentedThanks -- this fixed the issue for me. Is there a way to "refresh" the localizer table? I found just opening and saving the menu items doesn't work. I have to actually change each one to something else for them to "take". Is there a snippet of PHP code that would accomplish that? Hmm...
Comment #7
Roberto Gerola commentedSee here : http://drupal.org/node/234985#comment-915610
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.