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

Two-language site #10

Open
ohsk opened this issue Dec 3, 2014 · 2 comments
Open

Two-language site #10

ohsk opened this issue Dec 3, 2014 · 2 comments
Labels

Comments

@ohsk
Copy link
Member

ohsk commented Dec 3, 2014

Site needs to be translated in Bahasa and English, and users must be able to toggle between the two.
Perhaps the base URL changes:
kotakita.org/en
kotakita.org/id

@ohsk
Copy link
Member Author

ohsk commented Dec 3, 2014

Checkout this CSS vs JS / jQuery approach posting for reference.

HTML

<span class="btn show-en">
  <span "text-en">English</span>
  <span "text-id">Bahasa</span>
</span>

CSS

.show-en > .text-id { display:none; }
.show-id > .text-en { display:none; }

@ohsk
Copy link
Member Author

ohsk commented Dec 3, 2014

May also have a workaround using localize.js if the projected pageviews aren't that high...

@ohsk ohsk added the ux label Dec 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant