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

Roberto Gerola’s picture

It 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

costinius’s picture

Now 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

costinius’s picture

Ok, 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).

olio’s picture

Version: 5.x-3.4 » 5.x-3.5

Hi,

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

Roberto Gerola’s picture

Status: Active » Fixed

You 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.

Mac Clemmens’s picture

Thanks -- 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...

Roberto Gerola’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.