Hello, I'm not able to translate to Spanish.

First I use the potx module to get the htmlbox.po file, and translate it to Spanish, but it doesn't change to Spanish.

Second, I try to change the "t" English word to Spanish, but When I check the roll over show me the English literal.

Thanks

Oskar

Comments

Poetro’s picture

This is a known problem, and i'll think of some solution for that. The labels are wired into the htmlbox.js file, the third argument of each addToolbarItem call (except for the dropdown boxes, where it is wired into the options string). If you have some idea on how to do it in Drupal 5, i'm open for ideas.

avpaderno’s picture

You can put the translated strings into the JavaScript object Drupal.settings, then your JavaScript code would grab them from there.
See drupal_add_js() for details on how to populate the Drupal.settings object (in particular see the explanation for 'setting').

Poetro’s picture

Assigned: Unassigned » Poetro

Should be working with latest dev version.

avpaderno’s picture

Version: 5.x-1.0-2 » 5.x-1.x-dev
Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue since it's for a Drupal version that isn't supported.