Kdyby / Translation

Integration of Symfony/Translation into Nette Framework
https://packagist.org/packages/kdyby/translation
Other
89 stars 84 forks source link

#136: invalidate only translator's namespace instead of whole cache #192

Open nothrem opened 1 year ago

nothrem commented 1 year ago

In PhpFileStorage, the catalogue compiler automatically includes all fallback languages in the cached file (*.php).

However, when using other storage (such as FileStorage), the fallback languages are NOT included in the cached file and are available only the first time when the catalogue is generated from source. Commit 3dbf4db adds support for loading fallback catalogues from the cache as well.