Skip to content

Revert "Add multiple language support"#44

Open
AMANkumar0004 wants to merge 1 commit intomainfrom
revert-41-Issue/#36
Open

Revert "Add multiple language support"#44
AMANkumar0004 wants to merge 1 commit intomainfrom
revert-41-Issue/#36

Conversation

@AMANkumar0004
Copy link
Owner

Reverts #41

The recent translation update introduced usage of the __() helper inside EJS templates, but the required i18n configuration was not implemented in the backend.

Issues identified:

  • __() translation helper used in EJS templates without initializing an i18n library.
  • Missing i18n middleware setup (i18n.init) in the Express application.
  • Translation helper not exposed to templates via res.locals.__.
  • locales directory and translation JSON files were not included.

Because of this, the application throws ReferenceError: __ is not defined during runtime and breaks the production deployment.

These changes are being reverted to restore application stability. The translation feature can be reintroduced once the complete i18n setup is implemented properly.

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.

1 participant