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

Add Myanmar language #1123

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from
Open

Conversation

usaikoo
Copy link

@usaikoo usaikoo commented Jan 22, 2025

High Level Overview of Change

Added support for the Myanmar language, including translation files, updates to the language selector, and necessary backend adjustments for proper localization.

Context of Change

This change introduces the Myanmar language to the app's localization system.

  • New Feature: Added support for Myanmar to cater to users in that region.
  • Architecture: This was integrated into the existing i18n framework without any major architectural changes.
  • Alternatives: Other alternatives like creating a separate app for Myanmar were considered but rejected for cost and maintenance reasons.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Translation Updates
  • Release

TypeScript/Hooks Update

  • Updated files to React Hooks
  • Updated files to TypeScript

No TypeScript or React Hooks updates in this PR, as it primarily focuses on translation files and language selector.


Before / After

Before

  • The application did not support the Myanmar language.
  • Language dropdown excluded Myanmar.

After

  • Myanmar language translations added to explorer/public/locales/my-MM/translations.json.
  • Myanmar option now available in the language dropdown.
  • Backend supports Myanmar-specific content and language preferences.

Test Plan

  • Verified Myanmar language rendering on all UI components through manual testing.
  • Ran tests to ensure the system behaves as expected with the newly added language.
  • Checked the language switcher functionality to confirm the Myanmar language appears in the dropdown and functions properly.
  • Add automated tests for verifying new translations.
  • Update documentation with steps for adding new languages.

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