Skip to content

Add Language Specification Option in Settings #436

@RostyslavManko

Description

@RostyslavManko

Description

To enhance the user experience and provide better language support, we need to add an option for language specification in the settings. By default, the language should be set to auto-detect, and the user's preference should be saved in the profile table by creating a new field for language. Once implemented, we should ensure that the selected language is added to the global context, allowing it to be reused in other parts of the code. This feature will help to improve language selection for speech-to-text, changing the UI language, voice assistant, and more.

Objective

Our goal is to provide users with better language support and personalization by allowing them to specify their preferred language in the settings.

Actions and Considerations (ACC)

  1. Update Profile Table:

    • Create a new field in the profile table to store the user's preferred language.
  2. Implement Language Specification Option:

    • Add a language specification option in the settings, with auto-detect as the default choice.
      • Image
      • Image
    • Save the user's preferred language to the profile table.
  3. Add Language to Global Context:

    • Ensure that the selected language is added to the global context, allowing it to be reused in other parts of the code.
  4. Testing and Quality Assurance:

    • Conduct thorough testing to ensure that the language specification option works as expected, including auto-detection and manual selection.
    • Test the feature in different scenarios and environments to guarantee robustness and reliability.
    • Verify that the changes work correctly both locally and on Vercel preview.

Expected Outcomes

  • Improved user experience and personalization, as users can now specify their preferred language in the settings.
  • A foundation for future enhancements, such as changing the UI language, voice assistant, speech-to-text, and more based on the user's preferred language.
  • Adherence to best practices for user settings, language support, and global context management.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🔄 Second Chance

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions