Skip to content
Discussion options

You must be logged in to vote
 <script> // Set html "lang" attribute based on URL var lang = location.hash.match(/#\/(de-de|es|ru-ru|zh-cn)\//); if (lang) { document.documentElement.setAttribute('lang', lang[1]); } </script>

Add css:

 :lang(zh-cn) #main p { text-indent: 2em; }

Replies: 9 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ersrohu
Comment options

@sy-records
Comment options

@ersrohu
Comment options

@sy-records
Comment options

@ersrohu
Comment options

Answer selected by ersrohu
Comment options

You must be logged in to vote
3 replies
@ersrohu
Comment options

@sy-records
Comment options

@ersrohu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1783 on April 01, 2022 04:48.