Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,142
- Plugin Contributions:
- 56
Language Manager [Support Thread]
balihr:
OK, shouldn't be much of a problem.
Makes perfect sense to think about encapsulated plugins, but at the same time it opens a HUGE can of worms.
#1 do EPs support language overrides per template?
#2 where to store these language files - in the main languages directory or in zc_plugins (relative to the plugin)
#3 I'm guessing the answer to #2 would be in the plugin's own directory. How to handle this when you create a translation for the current version and a new version comes out which is now in a different directory?An example:
/zc_plugins/EditOrders/v5.0.2/catalog/includes/languages/english/modules/order_total/lang.ot_misc_cost.php
>
> would the new override go to
> ```
zc_plugins/EditOrders/v5.0.2/catalog/includes/languages/english/modules/order_total/responsive_classic/lang.ot_misc_cost.php
or would it be picked up from
/includes/languages/english/modules/order_total/responsive_classic/lang.ot_misc_cost.php
> If the latter, beautiful because it would also solve #3
>
> I guess I'll need to test all this out and see what happens because honestly, I have no idea - the number of EPs is ridiculously small at the moment, and most of them don't have much interaction with the frontend anyway.
> BUT - if DrByte adopts the idea I mentioned and demonstrated about the Remote Plugins Installer, we might see an increase in EPs so it's definitely worth digging into it.
The language override will be picked up from ```
/includes/languages/english/modules/order_total/responsive_classic/lang.ot_misc_cost.php