Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.
/ intl-quotes Public archive

✌️ Small Bower package that ensures typographically correct quotation marks in various languages.

License

Notifications You must be signed in to change notification settings

tompazourek/intl-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intl-quotes

Small CSS file that correctly sets quotation marks for many different languages.

The stylesheet will make sure that all the quotes will look typographically correct no matter which language is your web content.

Installation

bower install intl-quotes

Example source code

<div lang="cs">
	<q>Quoted text in Czech. Supports <q>secondary nested quotes</q> as well.</q>
</div>

<div lang="fr">
	<q>Quoted text in French. Supports <q>secondary nested quotes</q> as well.</q>
</div>

<div lang="en-US">
	<q>Quoted text in English (US). Supports <q>secondary nested quotes</q> as well.</q>
</div>

Output

„Quoted text in Czech. Supports ‚secondary nested quotes‘ as well.“

« Quoted text in French. Supports “secondary nested quotes” as well. »

“Quoted text in English (US). Supports ‘secondary nested quotes’ as well.”

Supported languages

Currently supported languages are:

Afrikaans, Albanian, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bulgarian, Catalan, Chinese, Chinese (simplified), Chinese (traditional), Croatian, Czech, Danish, Dutch, English, English (British), English (Canada), English (US), Esperanto, Estonian, Filipino, Finnish, French, French (Swiss), Georgian, German, German (Swiss), Greek, Hebrew, Hungarian, Icelandic, Indonesian, Interlingua, Irish, Italian, Italian (Swiss), Japanese, Korean, Latvian, Lithuanian, Lojban, Macedonian, Norwegian, Persian, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Serbian, Slovak, Slovene, Sorbian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese, Welsh

The correct quotation marks are took straight from Wikipedia: http://en.wikipedia.org/wiki/International_variation_in_quotation_marks

Contributing

If you find any mistake, error, or you miss some supported language, please contribute.

About

✌️ Small Bower package that ensures typographically correct quotation marks in various languages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published