Skip to content

[Feature] Arabic #4629

Open
0 of 1 issue completed
Open

Description

@HomamLazaref

概述 | Summary

Available in the description

原因 | Reason

Available in the description

详情 | Description

Dear HMCL Team,

My name is Hommam, I am of Arab origin, and my native language is Arabic. I would like to contribute to translating your launcher into Arabic.

I am writing because I am very passionate about your launcher and wish to contribute to its development while also gaining experience. My goal is to make the launcher accessible to a larger audience worldwide, especially among Arab Minecraft players, whose numbers are significant.

I have already started working on the translation project, but I would like to receive official approval to ensure that my translation will be officially used and not go to waste.

I hope you will trust my translation and my commitment to putting significant effort into it. I also intend to perform regular revisions, correct errors as much as possible, and keep the translation up-to-date with future updates of your amazing launcher.

If you approve my contribution offer, please inform me of the steps I should follow after completing my translation.

Sincerely,
Hommam

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. burningtnt commented on Oct 8, 2025

    @burningtnt
    Member

    There's no language maintainer for Arabic yet. If this Feature is approved, a volunteer must be selected to check all translations as documented here (It's in Simplified Chinese, please use LLM translation tools).

    Another issue is that Arabic, a language written from right to left, forces all hardcoded layouts to be adjust, including moving sidebar from left to right, updating text alignments and numerous other related changes. However, as I have limited knowledge on Arabic (Most of them are from Wikipedia), I'm not sure whether these layout modification are necessary for users to clearly view the page.

    Personally, I have no plan to adjust these codes for the time being. HMCL now mainly targets at users in China Mainland (Simplified Chinese), China Hongkong / Macao / Taiwan (Traditional Chinese) and English (For all international users). Supporting a new language might be risky as I don't know the number of HMCL Arabic users.

    More discussion should be made before making any changes.

  2. CiiLu commented on Oct 8, 2025

    @CiiLu
    Contributor

    setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT); 似乎可以直接应用 RTL 布局,不知道这样布局对不对

    Image Image Image Image
  3. burningtnt commented on Oct 8, 2025

    @burningtnt
    Member

    setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT); 似乎可以直接应用 RTL 布局,不知道这样布局对不对

    HOLY SHIT.

  4. burningtnt commented on Oct 8, 2025

    @burningtnt
    Member

    There's still a few layout problems, as JFoneix cannot handle NodeOrientation correctly to layout popups.

  5. HomamLazaref commented on Oct 8, 2025

    @HomamLazaref
    ContributorAuthor

    Thank you for your contribution to this suggestion.
    At least for now, I don't think the emulator requires a redesign to ensure a clean Arabic interface. If necessary, we can release a beta version of the launcher using Arabic.

  6. 3gf8jv4dv commented on Oct 8, 2025

    @3gf8jv4dv
    Contributor

    @HommamPro hello.

    I believe that the maintainer of this project is already investigating this feature.

    I recommend you rename the completed language file to I18N_ar.properties and place it in the same directory as I18N.properties. Then submit a pull request to this repository — if you've already finished or are nearly done.

    This will make it easier for maintainers to develop this feature.

    At the same time, I strongly recommend you read the document written by the maintainer that burningtnt mentioned above: https://github.com/HMCL-dev/HMCL/blob/main/docs/Localization_zh.md

    Unfortunately, this document is currently only available in Simplified Chinese. You can use your preferred LLM tool to read it.

    A tip: I recommend creating a new branch in your own fork repository and submitting a pull request to this repository using that branch. This makes subsequent maintenance easier.

  7. marked [Feature] arabic lang #4787 as a duplicate of this issue on Nov 15, 2025
  8. HomamLazaref commented on Nov 15, 2025

    @HomamLazaref
    ContributorAuthor

    I have finally finished the translation successfully, thanks to God. I hope there are no mistakes. I am ready to fix any problems or make future updates to this translation.

    arabic_lang.zip

  9. marked [Feature] Add Arabic Lang #4801 as a duplicate of this issue on Nov 16, 2025
  10. burningtnt commented on Nov 16, 2025

    @burningtnt
    Member

    @HommamPro DO NOT open a new issue if one has existed! If you continue doing so, you will be marked as spam and blocked on GitHub permantly.

  11. HomamLazaref commented on Nov 16, 2025

    @HomamLazaref
    ContributorAuthor

    Bro, what did I do to deserve this? All I wanted was to contribute to the launcher translation, but I don't know how to access the project myself. I hope Arabic will be available in the next update.

  12. 3gf8jv4dv commented on Nov 16, 2025

    @3gf8jv4dv
    Contributor

    @HommamPro

    Sorry, but they simply want to consolidate all relevant discussions into a single issue — namely, this one.

    The primary maintainer and developer, @Glavo, is currently occupied with addressing other issues in HMCL.

    Maybe we should ask for his/her opinion to understand the current priority for Arabic language support.

  13. HomamLazaref commented on Nov 16, 2025

    @HomamLazaref
    ContributorAuthor

    Ohh ok, i'm here anytime, God willing.

  14. 9 remaining items

  15. WhatDamon commented on Nov 21, 2025

    @WhatDamon
    Contributor

    i downloaded version 3.7.5 as a JAR file, opened it using WinRAR, and then modified the I18N_uk.properties file, placing my Arabic language code inside it. To my surprise, it worked without any problems, as shown in the image. No errors or crashes. It's true that the player layout needs to be changed to be right-to-left, but as a start, this is good.

    In fact, HMCL is capable of handling various languages, including Arabic, provided the font supports it.
    This issue primarily concerns RTL support.

  16. HomamLazaref commented on Nov 21, 2025

    @HomamLazaref
    ContributorAuthor

    Currently, it works perfectly for me, and I intend to provide a continuous update for the Arabic language if future support for RTL languages ​​becomes available.

  17. Glavo commented on Nov 23, 2025

    @Glavo
    Member

    i downloaded version 3.7.5 as a JAR file, opened it using WinRAR, and then modified the I18N_uk.properties file, placing my Arabic language code inside it. To my surprise, it worked without any problems, as shown in the image. No errors or crashes. It's true that the player layout needs to be changed to be right-to-left, but as a start, this is good.

    I did some further investigation. The crash appears to be platform-related: it occurs when I run it on Kubuntu, but not on Windows.

  18. Glavo commented on Nov 23, 2025

    @Glavo
    Member

    I have merged #4837, and you will be able to get it in the next dev version (unless there are unexpected changes, its version number will be 3.9.0.311).

    However, due to a critical issue that causes HMCL to crash, HMCL will not display the Arabic translation by default for Arabic users, nor will users be able to set the language to Arabic in the settings page. If you want to use this translation, you should set the environment variable HMCL_LANGUAGE to ar before starting HMCL.

  19. HomamLazaref commented on Nov 23, 2025

    @HomamLazaref
    ContributorAuthor

    Will there be an option to change the language from the settings in the future?

  20. 3gf8jv4dv commented on Nov 23, 2025

    @3gf8jv4dv
    Contributor

    Will there be an option to change the language from the settings in the future?

    This may require waiting until Glavo or someone else resolves this crash issue.

    Note that after setting the environment variable, the language option in HMCL settings must be set to “Use System Locales” (استخدام إعدادات النظام المحلية) for the change to take effect.

  21. HomamLazaref commented on Nov 23, 2025

    @HomamLazaref
    ContributorAuthor

    I hope that will come soon, and I hope that you will not face great difficulties in that.

  22. HomamLazaref commented on Nov 23, 2025

    @HomamLazaref
    ContributorAuthor

    For your information, many Arabs don't use Arabic as the default language on their devices. Even I used to use French and then English before I recently started using Arabic.

  23. HomamLazaref commented on Nov 30, 2025

    @HomamLazaref
    ContributorAuthor

    Hello, I noticed that version 3.9.0.311 was recently released, but I can't find Arabic available. Are there any additional steps I need to take? And will the language be officially available soon?

    Image Image Image
  24. HomamLazaref commented on Nov 30, 2025

    @HomamLazaref
    ContributorAuthor

    I apologize for the great pressure I have caused over the past few days, but I feel it is my duty to contribute to supporting the Arabic language.

  25. Glavo commented on Dec 1, 2025

    @Glavo
    Member

    However, due to a critical issue that causes HMCL to crash, HMCL will not display the Arabic translation by default for Arabic users, nor will users be able to set the language to Arabic in the settings page. If you want to use this translation, you should set the environment variable HMCL_LANGUAGE to ar before starting HMCL.

  26. HomamLazaref commented on Dec 1, 2025

    @HomamLazaref
    ContributorAuthor

    How can the environment variable be adjusted, and will there be a fix for the crash issue caused by displaying the Arabic language?

  27. 3gf8jv4dv commented on Dec 1, 2025

    @3gf8jv4dv
    Contributor

    How can the environment variable be adjusted

    I see you're using Microsoft Windows. You can search Google for related tutorials or step-by-step guides.

    However, be sure to remember these points so that after following the tutorial/step-by-step guide, you can successfully see the Arabic translations in the HMCL application:

    1. Variable name: HMCL_LANGUAGE
    2. Variable value: ar
    3. Set the language to “Use System Locales” in Settings > General within the HMCL application.

    and will there be a fix for the crash issue caused by displaying the Arabic language?

    I believe that Glavo will resolve this issue in the future. However, Glavo has recently been updating HMCL's UI (user interface) and reviewing and merging the large number of existing PRs (pull requests). I'm not sure if anyone else will volunteer to provide a fix.

    Until then, please bear with us. Sorry for that.

  28. HomamLazaref commented on Dec 2, 2025

    @HomamLazaref
    ContributorAuthor

    Well, I appreciate that very much and thank you for your help, but my goal is to make the Arabic language accessible to those who truly need it, not to complicate things or change the environment. Simply put, most people don't understand these things at all, or at least they don't understand them very well, like me, for example. I reiterate my thanks and look forward to working together again in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions