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

gábor hojtsy’s picture

Status: Active » Closed (works as designed)

They 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.