Skip to content

Internationalization / i18n / multilingual site #68

Closed

Description

@benbalter

Would love to see about baking in I18N support to choosealicense.com proper. See #67 and #62

We already have the bulk of the strings in a single file (_config.yml), so it should just be a matter of abstracting out some of our variables, as far as I can tell.

Would love to take this on starting in August if there's interest. Would be a great exercise to set a standard for Jekyll L10N, and can iterate on some of the lessons learned form https://github.com/CMSgov/healthcare.gov.

@parkr any interest?
@dhcole any insight / words of wisdom?

Activity

  1. liks79 commented on Jul 26, 2013

    @liks79

    It's really good!
    I hope 'choosealicense.com' support I18N.
    It is very valuable work for open source beginner!

  2. weakish commented on Jul 26, 2013

    @weakish
    Contributor
  3. parkr commented on Jul 26, 2013

    @parkr

    This looks like a great candidate for use of the _data directory proposed by @benbalter in jekyll/jekyll#1003.

  4. weakish commented on Oct 29, 2013

    @weakish
    Contributor

    Just using subdomain?

    A quick and simple (maybe not very elegant approach) is just using subdomains (with separate repositories) .

    For example:

    • Korean: http://ko.choosealicense.com
    • Chinese: http://zh.choosealicense.com

    Thus, we only need to make sure that:

    • Translated sites and main site should link to each other.
    • github/{lang}.choosealicense.com has the proper CNAME file (and the related DNS Zone configurations)

    Done.

    And in future we can switch to a more elegant solution once Jekyll has better support of I18N.

  5. parkr commented on Oct 29, 2013

    @parkr

    It'd be way easier to handle if everything were in one repo and simply to ship every translation under /LOCALE/ (e.g. /en/, /ko/) with pages for each. It's a lot of duplications, but right now it is the best option, given that Jekyll has no means of handling this.

  6. haacked commented on Oct 29, 2013

    @haacked
    Contributor

    @parkr Yeah, I'm kind of leaning towards that approach. @benbalter seem good to you?

  7. liks79 commented on Oct 30, 2013

    @liks79

    How about using URI separation? (http://choosealicense.com/{lang})

    Fo example :

    • Korean : http://choosealicense.com/ko
    • Chinese: http://choosealicense.com/zh
  8. parkr commented on Oct 30, 2013

    @parkr

    @liks79 That's exactly what I was proposing. :)

  9. liks79 commented on Oct 30, 2013

    @liks79

    @parkr Oh... I'm sorry ;) That's a good idea! Thanks!

  10. haacked commented on Oct 30, 2013

    @haacked
    Contributor

    Ok, just need someone to send a PR with at least one translated language. :)

  11. liks79 commented on Oct 30, 2013

    @liks79

    @haacked

    Ok, The die has been cast! =)

  12. weakish commented on Oct 30, 2013

    @weakish
    Contributor

    @liks79 It seems that some js files assumes resources are located in the root directory, thus simply moving all translated files to a sub directory will fail. I cannot speak javascript. If you've finished Korean translation, please @me, so I can just use your modifications.

  13. weakish commented on Nov 16, 2013

    @weakish
    Contributor

    @haacked @benbalter @parkr @liks79 I have made a base for translations, please review my pull request.

  14. liks79 commented on Nov 27, 2013

    @liks79

    @weakish @haacked @parkr @benbalter

    #131
    It is a good reference implementation for I18N.
    I'll try to apply it for translation for Korean.

    But, I am afraid too that copying HTML files...

  15. kidchenko commented on Aug 15, 2014

    @kidchenko

    Hi, I would like to contribute to the implementation of I18N. You need help?

    I am web developer from Brazil. Here not lot speak English for this reason many people have benefited from the translation.

    I can start and send a PR?

  16. 19 remaining items

  17. lqez commented on Oct 1, 2018

    @lqez
    Contributor
  18. mlinksva commented on Oct 1, 2018

    @mlinksva
    Contributor

    @lqez yes there's a start on that in #586 ... I haven't had a chance to look at it since August but hope to come back to it soon.

  19. wizardbyron commented on Jan 12, 2019

    @wizardbyron

    Come on, this discussion has taken for years. Let's close it and make it work first Please!
    BTW, The Chinese translation isn't available any more.
    Is there anything I can help ?

  20. mlinksva commented on Jan 13, 2019

    @mlinksva
    Contributor

    Apologies, I simply haven't gotten back to #586 yet, but aim to.

    It looks like the Chinese content is still in #72 but that was from 2013; I imagine lots of strings have changed since then.

  21. wizardbyron commented on Jan 13, 2019

    @wizardbyron

    Apologies, I simply haven't gotten back to #586 yet, but aim to.

    It looks like the Chinese content is still in #72 but that was from 2013; I imagine lots of strings have changed since then.

    Thanks for reply, I found the Chinese content is hosting on http://choosealicense.online/

  22. victorwestmann commented on Jul 28, 2020

    @victorwestmann

    Just found out that the Brazilian Portuguese version of it already exists and it is available in the address http://escolhaumalicenca.com.br/ 💚💛

  23. changed the title [-]I18N[/-] [+]Internationalization / i18n / multilingual site[/+] on Mar 12, 2021
  24. faloi commented on Jul 3, 2021

    @faloi

    Any updates on this one? I'd like to contribute with the Spanish translation. 😄 🇦🇷

  25. LoganTann commented on Oct 9, 2021

    @LoganTann

    Any update in this issue ? It's opened since 2013, and I'd love to see a french translation of this website !

  26. mlinksva commented on Oct 9, 2021

    @mlinksva
    Contributor

    Thanks for the ping @LoganTann. Nothing concrete, though totally coincidentally a couple days ago a colleague and I discussed pairing on this, so please continue to watch this issue and thanks for your patience.

  27. samusz commented on Mar 8, 2022

    @samusz

    So how should go about starting a translation, eg for the French language ?

    Licence issues need to get wider audience ; I believe l10n of this project is a good way to
    start this process.

  28. tinhbao789 commented on May 23, 2023

    @tinhbao789
  29. Tarekchehahde commented on Jul 11, 2026

    @Tarekchehahde
  30. mlinksva commented on Jul 12, 2026

    @mlinksva
    Contributor

    Closed by #1344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions