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

Localization and multilingual support #12

Closed
gcushen opened this Issue May 20, 2016 · 7 comments

Comments

Projects
None yet
3 participants
@gcushen
Owner

gcushen commented May 20, 2016

Dependent on gohugoio/hugo#1734 and gohugoio/hugo#2303 getting completed and accepted into an official Hugo release.

This would enable the theme to support multiple languages like 中文 and English, for example. It may also become much easier to edit the hard coded language strings used for some headers etc.

@gcushen gcushen added the enhancement label May 20, 2016

@gcushen

This comment has been minimized.

Owner

gcushen commented May 24, 2016

In the meantime, commit d03e66c provides a partial solution by enabling homepage titles to be easily customized in config.toml.

@kulla

This comment has been minimized.

Contributor

kulla commented Sep 13, 2016

Documentation for i18n in Hugo: https://github.com/spf13/hugo/blob/master/docs/content/content/multilingual.md (so I do not have to look for this URL every time 😄 )

An example website: https://github.com/aubort/hugo/tree/multilingual-example/examples/multilingual

@kulla

This comment has been minimized.

Contributor

kulla commented Sep 13, 2016

I want to work on this feature. For testing I have created https://github.com/kulla/hugo-academic-example-multilingual (which is currently a copy of exampleSite but which I want to alter for using with the new i18n feature). (I just noticed that I can run hugo server --theme="../../" inside `exampleSite for rendering it. Therefore I do not need an additional repo 😄)

@gcushen How do you want to manage the work on this issue? I would recommend creating a new branch multilingual for which I regularly create new PRs. Do you think that's a good idea?

@kulla

This comment has been minimized.

Contributor

kulla commented Sep 13, 2016

I just created the branch multilingual for working on this issue... (Currently only the multilanguage support is enabled with the languages en and de). Thinks I am working on there:

  • fix lang attribute inside <html>
  • fix <meta name="author">
  • fix <meta name="description">
  • fix <title>
  • fix RSS-Links in <head>
  • translate "Toggle navigation"
  • translate menu bar
  • translate organization
  • translate section "interests"
  • translate section "education"
  • add <link rel="alternate"> tags for other language versions of a page
  • add language chooser in the navigation bar
@gcushen

This comment has been minimized.

Owner

gcushen commented Oct 8, 2016

Wow, Hugo v0.17 just got officially released 😃 Much faster than I expected!

@jsilence

This comment has been minimized.

jsilence commented Nov 23, 2016

Also interested in a multilingual version of this theme and willing to collaborate and contribute. Where would be my best starting point?
Has the multilingual branch of Kullas fork been pulled into this repo?

@gcushen

This comment has been minimized.

Owner

gcushen commented Nov 26, 2016

Hi @jsilence , thanks for your interest in contributing.

It looks like @kulla almost finished the localization/multi-lingual feature in his fork, but he is currently busy with other projects.

Perhaps the best way forward is for you to fork his fork, bring it up-to-date with master, implement the remaining features in his to-do list (above) and submit it here as a pull request for me to review :)

@gcushen gcushen referenced this issue Dec 19, 2016

Closed

Add multilingual support #67

5 of 5 tasks complete

@gcushen gcushen closed this Dec 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment