Skip to content

Conversation

@VISHNU7KASIREDDY
Copy link

Summary

Fixes issue #799 where database selection options were not translated when users switched languages.

Changes

  • Added translation keys for all 6 databases (MySQL, PostgreSQL, SQLite, MariaDB, MSSQL, Oracle SQL) to en.js.
  • Updated Workspace.jsx to use the i18n translation function (t()) for database names and the generic description.
  • Ensured the correct translation key db_transactsql is used for MSSQL.

Testing

  • Verified all database names display correctly in English (including MSSQL).
  • Lint check passed.
  • The modal not closing after selection is a separate, pre-existing issue.

Closes #799- Add translation keys for all database names (MySQL, PostgreSQL, SQLite, MariaDB, MSSQL, Oracle SQL)

  • Update Workspace.jsx to use i18n translation function for database names
  • Ensure database names are translatable across all 48 supported languages

Fixes #799### Summary
Fixes issue #799 where database selection options were not translated when users switched languages.

Changes

  • Added translation keys for all 6 databases (MySQL, PostgreSQL, SQLite, MariaDB, MSSQL, Oracle SQL) to en.js.
  • Updated Workspace.jsx to use the i18n translation function (t()) for database names and the generic description.
  • Ensured the correct translation key db_transactsql is used for MSSQL.

Testing

  • Verified all database names display correctly in English (including MSSQL).
  • Lint check passed.
  • The modal not closing after selection is a separate, pre-existing issue.

Closes #799

- Add translation keys for all database names (MySQL, PostgreSQL, SQLite, MariaDB, MSSQL, Oracle SQL)
- Update Workspace.jsx to use i18n translation function for database names
- Ensure database names are translatable across all 48 supported languages

Fixes drawdb-io#799
@vercel
Copy link

vercel bot commented Dec 4, 2025

@VISHNU7KASIREDDY is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

@VISHNU7KASIREDDY
Copy link
Author

@alexanderzeillinger @jonas-grgt @progh2 @FelixZY ,Please review this when you are free ,thank you.

@FelixZY
Copy link
Contributor

FelixZY commented Dec 4, 2025

Disclaimer: I'm not a maintainer, simply a contributor.

  1. Please remove unnecessary changes to package-lock.json
  2. This adds translation keys for English. [BUG]:Database Selection Options Not Translated to Bengali #799 is about missing translations to Bengali. As far as I can see, this PR therefore does not fix [BUG]:Database Selection Options Not Translated to Bengali #799 .
  3. I'm not familiar enough with the translation usage in drawdb but at first glance, the changes to Workspace.jsx seem a bit risky imo. @1ilit might be better able to verify this.

- Add translation keys for all database descriptions in en.js
- Add Bengali translations for database names and descriptions in bn.js
- Update databases.js to use i18n.t() for descriptions
- Update Workspace.jsx to render translated descriptions for all databases
- Revert unnecessary package-lock.json changes

Fixes drawdb-io#799
@VISHNU7KASIREDDY
Copy link
Author

@FelixZY thanks for your suggestions ,i had corrected.

@1ilit
Copy link
Member

1ilit commented Dec 5, 2025

Thank you @FelixZY for jumping in❤️

Copy link
Member

@1ilit 1ilit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for db descriptions

@1ilit 1ilit closed this Dec 5, 2025
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.

[BUG]:Database Selection Options Not Translated to Bengali

3 participants