Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md with multi language support? #899

Closed
jinliming2 opened this issue Jun 10, 2016 · 35 comments
Closed

README.md with multi language support? #899

jinliming2 opened this issue Jun 10, 2016 · 35 comments

Comments

@jinliming2
Copy link

jinliming2 commented Jun 10, 2016

Sometimes I need to display documents in different languages for different people.
Maybe we can use README.en.md, README.zh.md, README.zh_hans.md, etc to markup language of the document, and determine the display language for users according to browser language.

@jagd
Copy link

jagd commented Sep 10, 2016

is it solved?

@jinliming2 jinliming2 reopened this Sep 10, 2016
@jinliming2
Copy link
Author

jinliming2 commented Sep 10, 2016

May not.
I had a wrong operation.

@SlyAceZeta
Copy link

I'm surprised that this isn't available. Definitely adding my +1 for supporting this.

@Nightenom
Copy link

Nightenom commented Oct 9, 2016

Someone got something new about this needed future?

@kesarion
Copy link

kesarion commented Nov 9, 2016

A workaround would be to put the links to other languages in your default README.md, like in this example.

@jinliming2
Copy link
Author

@kesarion This is a method to solve this problem, but not the best.

@jinliming2
Copy link
Author

@github

2 similar comments
@pidupuis
Copy link

@github

@cubesky
Copy link

cubesky commented Jan 19, 2017

@github

@fnky
Copy link

fnky commented Feb 11, 2017

I propose to name README using language culture name, e.g. README.zh-CN.md, README.es-ES.md as languages can have cultural differences—like en-US and en-GB.

@BMaxV
Copy link

BMaxV commented Mar 5, 2017

Might not be a bad idea to use the iso standard.

@jinliming2
Copy link
Author

I think using language culture name is not a good idea for Chinese because even in mainland China there are many language branches, such as Mandarin, Cantonese, Hakka, Xiang, etc. The vast majority of Chinese people are hard to understand more than one language. Just using zh-CN can not distinguish between these languages.
So I think we'd better use this rule: https://www.w3.org/International/articles/language-tags/, with the Language Subtag from IANA: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry.
But many browsers do not support these language categories, so it is necessary to keep zh. So, for Chinese:
Use zh-Hans for General Simplified Chinese, use zh-Hant for General Traditional Chinese, use zh-cmn-Hans for Mandarin with simplified words, use zh-yue-Hant for Cantonese with traditional words, and so on.

@jonasgeiler
Copy link

@github

@djbrown
Copy link

djbrown commented Aug 25, 2017

Duplicate of #581 @kivikakk 👀

@alvarotrigo
Copy link

Interested in it too!

@0xtoorich
Copy link

Currently, I use README.md, README.zh-Hans.md, README.zh-Hant.md, README.fr.md, etc.

@Nadaabdulsalam
Copy link

.

@reggermont
Copy link

Would be very great @github

@filipecavalc
Copy link

still waiting, is something I would really like to see.

@rain1024
Copy link

rain1024 commented Feb 9, 2018

Would be nice feature @github

@neontorrent
Copy link

I would like this feature as well

@ciricc
Copy link

ciricc commented Feb 25, 2018

And is it not added for now?

@NanoPish
Copy link

I would like this feature as well

@afourmeaux
Copy link

That would be a gread feature for the readme !

@PyvesB
Copy link

PyvesB commented Apr 19, 2018

Indeed, READMEs with multi language support would be a very useful feature, hope to see it sometime soon!

In the meantime, I use a single README where each paragraph has its translations one under the other with slightly different styles, for instance one language in italic. A country flag is inserted at the start of each paragraph translation, which makes the README more visually appealing and easier to navigate through. It's not perfect, but it's a decent enough workaround for my purposes. You can see things in action in this repository.

@fnky
Copy link

fnky commented Apr 20, 2018

@PyvesB An issue I can see with this is for people who use screen readers, which will read everything in all languages. Another is if you'd like to expand on supporting more languages it will result in a quite heavy README which makes it hard to find and understand the information.

With different README files based on language you can provide a README which doesn't conflict with other languages and make it easier for users (with screen readers too) to understand and parse the information.

@alvarotrigo
Copy link

alvarotrigo commented Apr 20, 2018

With different README files based on language you can provide a README which doesn't conflict with other languages and make it easier for users (with screen readers too) to understand and parse the information.

Yeap, that's what I'm doing on my project.
Opted to use a lang folder where I place the different languages Readme or extra files.

And then I added a menu to choose the language on the top.

@fnky
Copy link

fnky commented Apr 20, 2018

@alvarotrigo This reminds me what could be possible with the wiki.

Being able to provide a wiki in multiple languages using something like repo.wiki/lang (using the root wiki repo as a default and /lang for overriding different pages in other languages).

@LucasKuhn
Copy link

+1 for the example given here, it is easy to follow and the file to be served could be detected based on the location of the user

@reggermont
Copy link

reggermont commented May 4, 2018

The thread is closed to be 3 years old and not a single message from dev team :/

@Malavos
Copy link

Malavos commented May 8, 2018

+1 folks, where is it!

@qct
Copy link

qct commented Jun 19, 2018

+1

@CreatiCoding
Copy link

Hello, Is it possible that github repo recognizes browser's language and links to read file in that language❓

😄 I just wanna doing this process automatically.

@MicroDroid
Copy link

And now, it's time for:

🔒 This conversation has been locked to contributors only

@kivikakk
Copy link
Contributor

kivikakk commented Sep 5, 2018

This repository is for the github-markup gem, a library which GitHub.com uses to choose a markup processor based on the type of the input data. All questions not related specifically to this gem should go to our support team. (Put another way: if a PR to this repo can't fix it, it doesn't belong here.)

I understand this is something that people want, but opening an issue here won't make that happen. People who work on the code that pertains to your query do not, in general, watch this repository. (I do because I maintain this gem.) To get it in front of their eyes, you'll need to go contact support so they can triage and prioritise it along with other requests.

Thanks for your understanding.

@kivikakk kivikakk closed this as completed Sep 5, 2018
@github github locked and limited conversation to collaborators Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests