I can not translate to spanish

oskar_calvo - July 14, 2008 - 09:52
Project:HTMLBox
Version:5.x-1.0-2
Component:User interface
Category:bug report
Priority:normal
Assigned:Poetro
Status:active
Description

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

#1

Poetro - July 17, 2008 - 22:33

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.

#2

kiamlaluno - July 24, 2008 - 04:36

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').

#3

Poetro - August 30, 2008 - 12:17
Assigned to:Anonymous» Poetro

Should be working with latest dev version.

 
 

Drupal is a registered trademark of Dries Buytaert.