AnimeHaze / anilibrix-plus

Anilibria desktop movie app
MIT License
23 stars 4 forks source link

Can you add support for English translation? #29

Open TomerGamerTV opened 2 weeks ago

TomerGamerTV commented 2 weeks ago

Could you add support for English translation? I already helped the guy who created the iOS app translate to English so I can help you translate too if you want.

Viiprogrammer commented 2 weeks ago

Hmmm, but content is fully rus. All API data and movies, Russian language only. For what? 😱

TomerGamerTV commented 2 weeks ago

Hmmm, but content is fully rus. All API data and movies, Russian language only. For what? 😱

Well funny thing is, I understand Russian but I can't read or write it. I don't mind if the contant is in Russian I just want to translate the interface so it will be easier to navigate 👍🏻

Viiprogrammer commented 1 week ago

Hmmm, but content is fully rus. All API data and movies, Russian language only. For what? 😱

Well funny thing is, I understand Russian but I can't read or write it. I don't mind if the contant is in Russian I just want to translate the interface so it will be easier to navigate 👍🏻

I think will be ok if you can help with code translation, but I not have enough time for this.

TomerGamerTV commented 1 week ago

Can you explain me what needs to be done?

On Sun, 14 Jul 2024 at 1:32 Maksim @.***> wrote:

Hmmm, but content is fully rus. All API data and movies, Russian language only. For what? 😱

Well funny thing is, I understand Russian but I can't read or write it. I don't mind if the contant is in Russian I just want to translate the interface so it will be easier to navigate 👍🏻

I think will be ok if you can help with code translation, but I not have enough time for this.

— Reply to this email directly, view it on GitHub https://github.com/AnimeHaze/anilibrix-plus/issues/29#issuecomment-2227120674, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRXGAQWLMCQU4RGE5WCMADZMGTJRAVCNFSM6AAAAABKPO5POOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGEZDANRXGQ . You are receiving this because you authored the thread.Message ID: @.***>

Viiprogrammer commented 1 week ago

Can you explain me what needs to be done? On Sun, 14 Jul 2024 at 1:32 Maksim @.> wrote: Hmmm, but content is fully rus. All API data and movies, Russian language only. For what? 😱 Well funny thing is, I understand Russian but I can't read or write it. I don't mind if the contant is in Russian I just want to translate the interface so it will be easier to navigate 👍🏻 I think will be ok if you can help with code translation, but I not have enough time for this. — Reply to this email directly, view it on GitHub <#29 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRXGAQWLMCQU4RGE5WCMADZMGTJRAVCNFSM6AAAAABKPO5POOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGEZDANRXGQ . You are receiving this because you authored the thread.Message ID: @.>

Firstly we need to add i18n for app, extract Russian texts to localization files, because app texts hard-coded directly to templates. I think most big work than just text translation.

I think text extraction is not really hard (because all texts only Russian, easy to find and extract automatically), but we need to replace all texts with placeholders, sometimes with i18n templates.


Because app uses vuetify, and it's contains i18n out of box, we can try by this docs https://v2.vuetifyjs.com/en/features/internationalization/#custom-components

TomerGamerTV commented 6 days ago

Sorry, but I got no idea how to implement this... 😅 If it will be easier we can technically just create another branch that will only have English text... idk which one will be easier.

Viiprogrammer commented 6 days ago

Sorry, but I got no idea how to implement this... 😅 If it will be easier we can technically just create another branch that will only have English text... idk which one will be easier.

Ok, No problem, after translate I can check the diff, extract strings and add i18n.