How do I recreate a Javascript translation file?
- Remove the file from
[your_files_directory]/languages/
(if any)
Then execute the following queries on the database (see settings.php for which database is in use):
UPDATE languages SET javascript = '' WHERE LANGUAGE = '[yourlanguage]';
UPDATE variable SET VALUE = 'a:0:{}' WHERE name = 'javascript_parsed';
TRUNCATE cache;
If you now visit the relevant page, the translation will be regenerated.
Comments
could you please explain
Submitted by castawaybcn (not verified) on Tue, 2010/02/02 - 14:53could you please explain where/how to use steps 2 to 4?
I assume it must be somewhere in the database but I just have no idea where...
tx