Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language loading, catalog per-page and template-override updates/corrections #6731

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

lat9
Copy link
Contributor

@lat9 lat9 commented Sep 4, 2024

https://docs.zen-cart.com/dev/languages/language_constant_logic/

- Template-override files are brought in *only* for the current-session language.
- Added `loadDefinesFromDirFileWithFallback` to `ArraysLanguageLoader` class
- Correcting loading of catalog 'other' main language files.
- Also corrects the main language file load; an extra '/' was in the template-override subdirectory, resulting in a non-array template-override file to be loaded.
@drbyte drbyte merged commit 733cec1 into zencart:master Sep 5, 2024
8 checks passed
@lat9 lat9 deleted the template-lang-session-only branch September 6, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants