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

We need to make sure that LANGUAGES = ["en", "fa"] is loaded globally and this line is not repeated in every file validate scripts #401

Open
BaseMax opened this issue Dec 21, 2024 · 1 comment
Labels
code style enhancement New feature or request good first issue Good for newcomers scripts
Milestone

Comments

@BaseMax
Copy link
Member

BaseMax commented Dec 21, 2024

باید کاری کنیم که LANGUAGES = ["en", "fa"] سراسری لود بشه و داخل هر فایل ولیدیت اسکریپت هی تکرار نشود

LANGUAGES = ["en", "fa"]
@BaseMax BaseMax changed the title We need to make sure that LANGUAGES = ["en", "fa"] is loaded globally and that the validation script is not repeated in every file We need to make sure that LANGUAGES = ["en", "fa"] is loaded globally and this line is not repeated in every file validate scripts Dec 21, 2024
@BDadmehr0 BDadmehr0 added enhancement New feature or request good first issue Good for newcomers code style scripts labels Dec 21, 2024
@BDadmehr0 BDadmehr0 added this to the December milestone Dec 21, 2024
@BaseMax
Copy link
Member Author

BaseMax commented Dec 21, 2024

To get list of languages, we need to load languages.yaml file as following:

items:
  - id: fa
    local_name: فارسی
    name: Persian
  - id: ar
    local_name: العربی
    name: Arabic
  - id: en
    local_name: English
    name: English

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code style enhancement New feature or request good first issue Good for newcomers scripts
Projects
None yet
Development

No branches or pull requests

2 participants