Unigram icon indicating copy to clipboard operation
Unigram copied to clipboard

Add localization in order to improve the app experience in other countries

Open ghost opened this issue 9 years ago • 13 comments

I think that Unigram is big enough to support other languages, at least the most used ones. (Spanish, Russian, Chinese...idk) What do you think? Any plans?

ghost avatar Oct 10 '17 22:10 ghost

Something that should be done at the end

FrayxRulez avatar Oct 10 '17 22:10 FrayxRulez

I know, just want to know if we are getting closer to that point in order to start helping with translation ;)

ghost avatar Oct 10 '17 22:10 ghost

I’m a bit scared by this step because uwp localizations are somehow strict (you need to specify the property they should localize, and if you change the controls being used or similar things will be broken and loc keys would need to be manually updated for every language)

FrayxRulez avatar Oct 10 '17 22:10 FrayxRulez

Yeah, definitely the best way to do it is finalize the UI first and then start adding the resources using x:Uid no?

ghost avatar Oct 10 '17 22:10 ghost

Yes, I think @callummoffat will probably work on this. Wanna help him?

FrayxRulez avatar Oct 10 '17 22:10 FrayxRulez

Since I'm relatively noob in GitHub I prefer not getting very involved in the code, but I will be pleased to help in the Spanish translation.

ghost avatar Oct 10 '17 22:10 ghost

Sure, I can work on making Unigram localization friendly. I do have exams coming up in the very near future, but I’ll have nothing but free time after the 24th of November. That okay?

From: Fela Ameghino [mailto:[email protected]] Sent: Wednesday, 11 October 2017 11:38 AM To: UnigramDev/Unigram [email protected] Cc: Callum Moffat [email protected]; Mention [email protected] Subject: Re: [UnigramDev/Unigram] Add localization in order to improve the app experience in other countries (#399)

Yes, I think @callummoffathttps://github.com/callummoffat will probably work on this. Wanna help him?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/UnigramDev/Unigram/issues/399#issuecomment-335628717, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM3pIxTPC3pRmI3RUuVwgEK_hC6YK4Giks5sq_G4gaJpZM4P0p8M.

callummoffat avatar Oct 11 '17 01:10 callummoffat

@FrayxRulez what if we don't use UWP x:Uid strategy and we use the resources directly in XAML pages? Thanks to this method, you don't/will care about any refactoring issue that affects properties names and compiler can assist you if it can't find changed resource's names, without testing at runtime every time.

thunderluca avatar Oct 11 '17 13:10 thunderluca

The advantage of the x:Uid and .resw file strategy is that it allows us to change shared strings in a single centralized location.

In addition, resource files make it much easier to localize. Plus, I think we should stick to UWP best practices where possible.

callummoffat avatar Oct 12 '17 20:10 callummoffat

Okay, good news.

I've started working on implementing localization support. It is very much a long term project, but I've begun laying the groundwork. PR #405 integrated my initial groundwork, including a localization-ready IntroPage and AboutPage.

This is a monumental task, and I don't expect to complete it any time soon (I do have a life), but it isn't too difficult to implement - simply time-consuming in the extreme.

callummoffat avatar Oct 13 '17 23:10 callummoffat

I will help with Ukrainian and Russian translations. Just tell me when to start.

xperiandri avatar Oct 20 '17 17:10 xperiandri

I could do some German translation if need. P.S.: Thank you for your work

jc-design avatar Oct 21 '17 19:10 jc-design

I could help with Chinese translation. Thanks for this app.

batkiz avatar Feb 03 '18 06:02 batkiz