-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I was unable to use the language dictionary features and therefore abandoned using the plugin.
I specified lang:en in the _config.yml Ultimately what I did was have one languages.yml file that has both my languages and accessed the title in my layout file. This worked so I'm not sure why something like the octopress-multilingual plugin didn't work when trying to split up the languages to their own separate files. Accessing the language title like in the docs with "{{ lang.title }} => English title" didn't generate anything.
languages.yml
en:
gde-quickstart:
title: 'GDE Quick Start Guide v2.1'
cn:
gde-quickstart:
title: 'GDE快速入门指南v2.1'
layout file accessed the page title
{{ site.data.languages[page.lang].gde-quickstart.title }}
Metadata
Metadata
Assignees
Labels
No labels