Closed (won't fix)
Project:
Web File Manager
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2007 at 14:00 UTC
Updated:
29 Jun 2010 at 21:44 UTC
How does this fit into the Drupal translation logic? How can i translated in different languages on a multilingual website where every user have a different language? there is only one JS files and i need to put all this strings into a POT translation file... for translation the t() function is used.
[webfm.js]
Webfm.js_msg = [];
Webfm.js_msg["mkdir"] = "Create New Dir";
Webfm.js_msg["file"] = "file";
Webfm.js_msg["directory"] = "directory";
Webfm.js_msg["work"] = "Working...";
Webfm.js_msg["refresh"] = "refresh";
Webfm.js_msg["sort"] = "sort by this column";
Webfm.js_msg["column1"] = "Name";
Webfm.js_msg["column2"] = "Modified";
Webfm.js_msg["column3"] = "Size";
Webfm.js_msg["attach-title"] = "Attached Files";
...
Comments
Comment #1
robmilne commentedOn my todo list. Ajax will send the drupal t() strings to the js_msg array.
Comment #2
hass commentedAfter i wrote this, i found kkaefer is working on javascript translation for D6 - http://drupal.org/node/118026. Maybe of your interests and may end with status "postphoned" here? Not sure if there are other ways to do this... never thought about JS translation yet.
Comment #3
robmilne commentedComment #4
nhck commentedAs per #803722: Cease support of Drupal 5? support for D4 and D5 has been closed. Sorry, please upgrade to Drupal 6. If you think this issue still applies with Version 6.x please reopen this issue with correct version tag.
Comment #5
nhck commented