Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • site site
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kuro Usada
  • sitesite
  • Issues
  • #8
Closed
Open
Created Feb 17, 2019 by Kuro Usada@kurousadaOwner

I18n support

Expected

I18n supported, Posts written in both English and Japanese are properly shown and markup.

This will increase non-Japanese readers.

When writing posts, writer can choose a language and language tag (e.g. lang:ja / lang:en) is automatically added.

Actual

Only Japanese posts are supported, though hreflang is already done.

How to achieve

  1. Add lang in frontmatter and enable one on CMS (Select element will be suited).
  2. Switch hreflang, lang, dateformat and all other related markups.
  3. Also add language tag in tags.
  4. Don't forget to add lang to old posts.

Resources

  • hreflang: https://support.google.com/webmasters/answer/189077?hl=ja
  • Intl on ES: https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Intl
Edited Feb 17, 2019 by Kuro Usada
Assignee
Assign to
Time tracking