Closed (outdated)
Project:
HTMLBox
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Jul 2008 at 09:52 UTC
Updated:
24 Sep 2020 at 20:08 UTC
Jump to comment: Most recent
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
Comment #1
Poetro commentedThis 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.
Comment #2
avpadernoYou 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 theDrupal.settingsobject (in particular see the explanation for'setting').Comment #3
Poetro commentedShould be working with latest dev version.
Comment #4
avpadernoI am closing this issue since it's for a Drupal version that isn't supported.