otzaria icon indicating copy to clipboard operation
otzaria copied to clipboard

English Translation for the UI

Open technobulb opened this issue 10 months ago • 5 comments

Summary | סיכום

Ability to change UI language to English הסבר קצר של התכונה

Basic example | דוגמה

Home, search, settings. etc

Motivation | תועלת

I think this will be beneficial for English speakers to navigate the software.

I an not really adept at programming, but if someone can point me in the right direction, I am more than happy to deal with the translation.

=================================

Summary | סיכום יכולת לשנות את שפת הממשק לאנגלית הסבר קצר של התכונה

Basic example | דוגמה Home (בית), Search (חיפוש), Settings (הגדרות) וכו'

Motivation | תועלת אני חושב שזה יהיה מועיל לדוברי אנגלית כדי לנווט בתוכנה בקלות.

אני לא ממש מומחה בתכנות, אבל אם מישהו יכול להכווין אותי בכיוון הנכון, אני יותר מאשמח לטפל בתרגום.

technobulb avatar Jan 26 '25 03:01 technobulb

Maybe I can help together with @jacobrosenfeld ?

technobulb avatar Jan 26 '25 05:01 technobulb

כנראה זה לא כל כך פשוט. תוכל לראות הדרכה מעשית כאן: https://github.com/Sivan22/otzaria/issues/318#issuecomment-2489701648

YOSEFTT avatar Jan 26 '25 07:01 YOSEFTT

Ok I understand. I am still willing to put in the effort, if someone can just point me in the right direction. As @Sivan22 mentioned there, (#318 ), AI could be a big help here. Just want to know the basic idea of where to start, and I can work on it. Which are the files that have the terms that need to be translated? At each of those instances, what needs to be done?

Is this where to start? I would appreciate any help with this as I am very determined to make this work

Thanks in advance.

בסדר, אני מבין. אני עדיין מוכן להשקיע מאמץ, אם מישהו רק יוכל לכוון אותי בכיוון הנכון. כפי ש-@Sivan22 ציין שם (#318), AI יכולה להיות עזרה גדולה כאן. אני רק רוצה לדעת את הרעיון הבסיסי מאיפה להתחיל, ואני אעבוד על זה. אילו קבצים מכילים את המונחים שצריך לתרגם? בכל אחד מהמקרים האלו, מה צריך לעשות?

האם זה המקום להתחיל בו? אני אעריך כל עזרה בנושא הזה, כי אני מאוד נחוש לגרום לזה לעבוד.

תודה מראש.

technobulb avatar Jan 27 '25 05:01 technobulb

Thank you very much for your willingness to help. the first thing we need to do is to pick the library , this looks like a good option, but other libraries are around too. afrer choosing the library, the workflow may change by the library, but the most common approach is to add in the code a reference for each String needed to be translaed (e.g. Text("עיון".i18) and add a line of the translation in a seperate file (for example {"עיון": {"en-US" : reading}})

for a more robust translating process we could use a service like crowdin or other similar frameworks, which hepls to create the translate files.

Sivan22 avatar Jan 27 '25 07:01 Sivan22

probably i will use this package for localization

Sivan22 avatar Feb 03 '25 13:02 Sivan22