[swift-dev] Translation of Swift.org in Chinese

Ted kremenek kremenek at apple.com
Mon Jan 18 00:06:17 CST 2016


Hi John,

I'm re-confirming any legal questions, but the idea all along was to make the website material both publicly available but also open for the community to help curate.  The material for the website is currently hosted on GitHub in a private repository, which we can easily open up.

The material for the website itself is written in Markdown, and we use Jekyll to generate static HTML content.  There is a variety of ways we can handle hosting multiple translations.  One model that was proposed to me is that we can have git branches with different translations, although I'm not certain if that would be a useful model.  We obviously could have parallel folders as well to host different translations.

There's also the question of how we allow users to select a language on the website.  Perhaps we would want to the most-likely language choice based on browser preferences, but I'm not sure.  Maybe it's simple to just default to English, make it obvious on the landing page that alternate translations are available, and then allow them to select that to get a different URL that indicates the rest of the content is a different translation.

Thoughts?

Ted

> On Jan 16, 2016, at 11:33 PM, John Lin <johnlinvc at gmail.com> wrote:
> 
> Hi Ted,
> 
> Swift.org has updated several times since I started the translation. The part that changes most frequently is the download page. I’ve made a script to auto update these download links. For other text updates, whenever I translate a page, I alway keep the origin English copy so that I can track the changes in the future.
> 
> I think keeping the translation up-to-date will be easier if the site's source is open. Currently I use page2rss & IFTTT to get notifications about changes, but if the source is open, we can track these changes on GitHub.
> 
> I’m more than happy to contribute these translations back to Swift.org, but maybe the site structure will need some changes to accommodate translations in various languages.
> 
> Best,
> John
> 
>> On Jan 16, 2016, at 3:56 PM, Ted kremenek <kremenek at apple.com> wrote:
>> 
>> Hi John,
>> 
>> I think we would be open to having the community help host translations on Swift.org.  My primary concern is maintenance.  The material on the site will continue to evolve.  What did you have in mind in terms of keeping the translation up-to-date?
>> 
>> Note if the translation was on Swift.org, from a legal perspective we'd consider it to be an open source contribution.  The website material is hosted on GitHub.  We were planning on opening it up once a few more logistical rollout issues were settled.
>> 
>> Cheers,
>> Ted
>> 
>>> On Jan 11, 2016, at 9:45 PM, John Lin via swift-dev <swift-dev at swift.org> wrote:
>>> 
>>> Hi
>>> 
>>> I’m working on a traditional Chinese translation of Swift.org
>>> https://swiftlang.tw
>>> 
>>> First, will there be any legal issue?
>>> Second, is it possible to add the translation to the official Swift.org ?
>>> 
>>> Thanks
>>> 
>>> John Lin
>>> 
>>> _______________________________________________
>>> swift-dev mailing list
>>> swift-dev at swift.org
>>> https://lists.swift.org/mailman/listinfo/swift-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160117/1c863e8c/attachment.html>


More information about the swift-dev mailing list