codefirefox icon indicating copy to clipboard operation
codefirefox copied to clipboard

i10n of the web ?

Open iampbernardo opened this issue 11 years ago • 15 comments

Hi, my name is Pablo (@voylinux) from Mozilla Hispano. We are the spanish and latam contributors community.

We really apreciate what you are doing here. We are wondering if it is a way we can make the web available in spanish or should we clone the repo, change the text and install in our own server.

Of course we would localize the text and videos in Amara.

Do you think it is posible to make it available in the same web. We can also help coding is necessary.

Thank you for your efforts.

iampbernardo avatar May 10 '14 17:05 iampbernardo

Absolutely, I'd love to work with you guys on this.

The videos can already be transcribed on Amara today, you'll see a link on each video called: Turn on translated subtitles

You can get linked into Amara by clicking that and then subtitling a video.

I'll leave this issue open for doing the web work to translate the web itself.

bbondy avatar May 10 '14 20:05 bbondy

That is great Brian. I can fork the repo and help you with whatever you need for that.

How can I help you with that? Also if you need to contact me, my mail is here on Github.

About the videos, yeah, we use Amara for Mozilla videos we localize too.

iampbernardo avatar May 10 '14 20:05 iampbernardo

They're all listed in the Mozilla Amara team videos too by the way. I need to look into the best way to localize. Let me know if you have suggestions and I'll look into them to see if they'd work. If not I'll decide on something.

bbondy avatar May 10 '14 20:05 bbondy

If your doubt is about using text files or not, this is not a problem. If you are thinking about integrating an external tool, we can check.

Anyway should be something that doesn't make more complicated for you to mantain all the work you have already done.

iampbernardo avatar May 10 '14 21:05 iampbernardo

Looks like the convention for the gettext tool for javascript strings is: _("This is a string which can be translated")

And for my templates to do something like: {{ _("This is a string which can be transalted") }}

bbondy avatar May 10 '14 21:05 bbondy

So we would fork the repo and commit the gettext files?

That would be easy if it works for you.

iampbernardo avatar May 10 '14 21:05 iampbernardo

that sounds great once I get all the strings identified

bbondy avatar May 10 '14 21:05 bbondy

And also, for sure, let me know if can help with any issues you have open here.

iampbernardo avatar May 10 '14 21:05 iampbernardo

Hi there @voylinux !

I started the process of localizing the site, and got a good chunk of it done. There will be some additional strings, but you can get started on the localization if you have time. Just clone the repo and make a copy of locales/en.js. It's a simple JSON file with English -> OtherLanguage mapping.

You would just create a subfile under the locales folder for appropriate language code for spanish.

bbondy avatar May 17 '14 01:05 bbondy

Great news, Brian!

I just forked the repo. Nice to have such a simple process. Thanks for your help. I am writting to the person in the community who is going to make translation.

iampbernardo avatar May 17 '14 06:05 iampbernardo

Hey there, just wondering how the translations were going? Is it still being worked on? Thanks!

bbondy avatar Jun 03 '14 13:06 bbondy

Hi Brian, the person who was helping is a little bit busy now. So I am going a little bit slower that expected. But we are already on it.

iampbernardo avatar Jun 03 '14 17:06 iampbernardo

OK thanks for letting me know. Sounds great.

bbondy avatar Jun 04 '14 14:06 bbondy

@bbondy, did you consider using Transifex? It was an open source project, and still offer free plans for open source projects, much like GitHub, they say. Editing paragraphs in an JSON file is a bit cumbersome.

pquentin avatar Sep 01 '14 18:09 pquentin

I haven't heard of it, but I'm open to someone doing that. I don't have the bandwidth myself to be able to do it though.

bbondy avatar Sep 02 '14 15:09 bbondy