ProtonMail / WebClients

Monorepo hosting the proton web clients
GNU General Public License v3.0
4.27k stars 545 forks source link

How to use Human Verification when testing translation? #285

Closed xet7 closed 1 year ago

xet7 commented 1 year ago

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):


Hi ! I was previously able to try Finnish translation this way: https://github.com/wekan/wekan/wiki/ProtonMail

But not that you have added Human Verification, how can I login? Verification fails.

Related #281 #284

xet7 commented 1 year ago

I also tried:

NODE_ENV=development yarn workspace proton-mail start

But it says unsupported browser, with link to: https://proton.me/support/recommended-browsers

I tried with some of those browsers, and they still show "unsupported browser"

mugiwarafx commented 1 year ago

Hi, @xet7!

I also tried:

NODE_ENV=development yarn workspace proton-mail start

But it says unsupported browser, with link to: https://proton.me/support/recommended-browsers

I tried with some of those browsers, and they still show "unsupported browser"

Are you trying to access the URL of your local network instead of the localhost URL?

I will try to help if you provide more details about this specific issue.

Best, Jordi

mmso commented 1 year ago

Let us know if you still have issues

xet7 commented 1 year ago

@mmso

How do you convert translation webapp.xcliff to JSON now that .po file is not available anymore?

I previously converted .po files: https://github.com/wekan/wekan/wiki/ProtonMail

I tried to look at some converterts at https://npmjs.com but I do not know what you use.

I will also try to test Finnish translation again, is it possible to test, when I get correct translation file format JSON.

dhoko commented 1 year ago

@xet7 I pushed what we use to convert the xliff back to ttag JSON https://github.com/dhoko/xliff-to-JSON-ttag

We don't use gettext anymore as it was creating duplicates issues for us during translations.

xet7 commented 1 year ago

@dhoko @mmso

Thanks! Running Protonmail frontend with Finnish translations now works for me. I added fixed instructions and screenshot to: https://github.com/wekan/wekan/wiki/ProtonMail