OsakaWebbie
Programmer
I have a bilingual application that has one main spot for the code (which is continually being developed) but several clients on virtual hosts. For ease of maintenance I want to keep a single main locale directory (so that when I add new strings I only have to update one place). But I also want the ability to customize a few strings here and there for some clients. My brain recalls things like "core overrides" in Joomla templates and the cascading nature of CSS, and I'm wondering if I can do something similar with translation files - to have a file with a small subset of strings in the client directory when needed, and have PHP use the client-specific string when it is present but otherwise just the one in the "global" file for that language. I did some googling but didn't find anything like that. Thoughts?