You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Internationalization / i18n / multilingual site #68
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.
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.
How about using URI separation? (http://choosealicense.com/{lang})
Fo example :
Korean : http://choosealicense.com/ko
@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.
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 ?
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.
Activity
liks79 commentedon Jul 26, 2013
It's really good!
I hope 'choosealicense.com' support I18N.
It is very valuable work for open source beginner!
weakish commentedon Jul 26, 2013
@parkr was not interested in supporting i18N in Jekyll core.
parkr commentedon Jul 26, 2013
This looks like a great candidate for use of the
_datadirectory proposed by @benbalter in jekyll/jekyll#1003.weakish commentedon Oct 29, 2013
Just using subdomain?
A quick and simple (maybe not very elegant approach) is just using subdomains (with separate repositories) .
For example:
http://ko.choosealicense.comhttp://zh.choosealicense.comThus, we only need to make sure that:
Done.
And in future we can switch to a more elegant solution once Jekyll has better support of I18N.
parkr commentedon Oct 29, 2013
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.haacked commentedon Oct 29, 2013
@parkr Yeah, I'm kind of leaning towards that approach. @benbalter seem good to you?
liks79 commentedon Oct 30, 2013
How about using URI separation? (
http://choosealicense.com/{lang})Fo example :
http://choosealicense.com/kohttp://choosealicense.com/zhparkr commentedon Oct 30, 2013
@liks79 That's exactly what I was proposing. :)
liks79 commentedon Oct 30, 2013
@parkr Oh... I'm sorry ;) That's a good idea! Thanks!
haacked commentedon Oct 30, 2013
Ok, just need someone to send a PR with at least one translated language. :)
liks79 commentedon Oct 30, 2013
@haacked
Ok, The die has been cast! =)
weakish commentedon Oct 30, 2013
@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.weakish commentedon Nov 16, 2013
@haacked @benbalter @parkr @liks79 I have made a base for translations, please review my pull request.
liks79 commentedon Nov 27, 2013
@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...
kidchenko commentedon Aug 15, 2014
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?
19 remaining items
lqez commentedon Oct 1, 2018
It looks like https://github.com/github/opensource.guide could be a good example of how Jekyll page translated.
mlinksva commentedon Oct 1, 2018
@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.
wizardbyron commentedon Jan 12, 2019
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 ?
mlinksva commentedon Jan 13, 2019
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.
wizardbyron commentedon Jan 13, 2019
Thanks for reply, I found the Chinese content is hosting on http://choosealicense.online/
victorwestmann commentedon Jul 28, 2020
Just found out that the Brazilian Portuguese version of it already exists and it is available in the address http://escolhaumalicenca.com.br/ 💚💛
[-]I18N[/-][+]Internationalization / i18n / multilingual site[/+]faloi commentedon Jul 3, 2021
Any updates on this one? I'd like to contribute with the Spanish translation. 😄 🇦🇷
LoganTann commentedon Oct 9, 2021
Any update in this issue ? It's opened since 2013, and I'd love to see a french translation of this website !
mlinksva commentedon Oct 9, 2021
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.
samusz commentedon Mar 8, 2022
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.
tinhbao789 commentedon May 23, 2023
Tarekchehahde commentedon Jul 11, 2026
mlinksva commentedon Jul 12, 2026
Closed by #1344