hugo-tranquilpeak-theme icon indicating copy to clipboard operation
hugo-tranquilpeak-theme copied to clipboard

added norwegian and hreflang

Open tobiasmcvey opened this issue 5 years ago • 5 comments

Added

  • Norwegian localisation of homepage
  • Autogenerating hreflang tags for translated content so Google knows about each version
  • ~~Language selection bar~~

tobiasmcvey avatar Apr 05 '20 17:04 tobiasmcvey

@tobmcv why did you close that MR? I'm pretty interessed by your additions

kakawait avatar Apr 05 '20 17:04 kakawait

I was trying to make it work on my copy of the repo first and mistakenly submitted it too early. I've managed to make it work now so I'll resubmit my suggestions.

tobiasmcvey avatar Apr 30 '20 21:04 tobiasmcvey

@kakawait can you review the PR now? It's as complete as I can make it right now.

tobiasmcvey avatar May 02 '20 15:05 tobiasmcvey

@tobiasmcvey I'll do on next day. Thank you for contribution

kakawait avatar May 02 '20 19:05 kakawait

@tobiasmcvey sorry for delay (see https://github.com/kakawait/hugo-tranquilpeak-theme/blob/master/CHANGELOG.md#forwords for more details).

Since you've created there were new keys, do you think you can translate it? I'm totally zero on Norwegian :)

See diff: https://www.diffchecker.com/UtlKyBsw

- id: "global.read_more_about_author"
  translation: "Read more about the author"
- id: "global.zoom_in_on_picture"
  translation: "Zoom in on the picture"
- id: "global.go_to_homepage"
  translation: "Go to homepage"
- id: "global.open_link"
  translation: "Open the link"
- id: "global.open_post"
  translation: "Open the post"
- id: "post.comment"
  translation: "Leave a comment"
- id: "post.back_to_top"
  translation: "Back to top"
- id: "post.share"
  translation: "Share this post"
- id: "post.gallery"
  translation: "Gallery"
- id: "post.image.one"
  translation: "image"
- id: "post.image.other"
  translation: "{n} images"

kakawait avatar Sep 08 '21 09:09 kakawait