YunYouJun / cook

🍲 好的,今天我们来做菜!OK, Let's Cook!

Home Page:https://cook.yunyoujun.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i18n

idc77 opened this issue · comments

Clear and concise description of the problem

I'm looking for a recipe database, where my 89 year old mother can store her recipes, from everywhere, before she and her knowledge goes back into the earth.
But she (and I) doesn't speak Chinese (I assume this language is Chinese, if not, sorry).
As I see in package.json there is no vue-i18n package in dependencies, so this repository seems to be 1 langauge only.

It would be great if this app could be transated to other languages.
I'm aware it's a bit of extra work.
Most of the work would be defining

{
frontpage: {
  the: "the",
  terms: "terms",
  account: {
    login: "login",
    register: "register"
  }
}
}

and

<html>
<body>
<navbar>
<ul>
<li><a href="/account/login">{{t('frontpage.account.login')}}</a></li>

defining the placeholders and markup

Suggested solution

add vue-i18n

Alternative

keep it 1 language only?

Additional context

No response

Validations

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Actually, forget it.
I don't think this repo is what I think it is.
I was looking for a self-managed cookbook.
This is more of a collection of recipes already.