Skip to content

Incorrect locale key: fa_ir should be fa for Nuxt i18n compatibility #171

@Mostafa20946

Description

@Mostafa20946

Describe the issue

The current locale file is named fa_ir, but Nuxt i18n expects the key to be fa in order to properly match it with the fa locale defined in nuxt.config.ts.

This causes the following issues:

  • The i18n system doesn't correctly map the fa locale to the available translation data.
  • Locale switching and automatic detection may fail or behave unexpectedly.
  • Using locales[locale.value] results in undefined when locale.value === 'fa'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions