Closed (works as designed)
Project:
Drupal core
Version:
6.1
Component:
locale.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2008 at 23:25 UTC
Updated:
9 Sep 2008 at 10:50 UTC
I don't know why the files are not parsed for translatable strings... but the files are not generated.
For repro simply clean up your files/language directory, reload the page and nothing is regenerated. Same happens when you re-import your language package with l10n_client.
If you enable JS compression the files are written to disk. If i disable JS compression after generation the files are kept. I have no idea when this files are updated or written. I have never deleted them by hand in past, but after l10n_client have re-imported a language i saw some JS strings not translated and started to investigate what could be wrong... what ended in guessing...
Comments
Comment #1
gábor hojtsyThey are only parsed when invalidated. If you find more issues when they are not invalidated, you need similar fixes such as http://drupal.org/node/305920 but we need a concrete cause.