I have made my website multi-language via Locale::Maketext (or more specifically with CatalystX::I18N::Model::Maketext).
My maketext classes load the lexicon into the package var %Lexicon at compile time by loading it from a database.
I wanted to add an admin interface for the lexicon in my app, but I can't figure out a way to reload the lexicon. I added a method to each locale class to refresh the %Lexicon hash which worked fine in dev but when running on a forking server (Starman) it of course only reloads the package var in that server process.
I then thought perhaps I could put the lexicon in a cache, which could be expired when required. However, the %Lexicon hash in Locale::Maketext is populated at the start of runtime and I can't figure out how to populate it from cache at every request.
My latest thought was to override part of Locale::Maketext but I am looking for any smart ideas :)