Code Monkey home page Code Monkey logo

Comments (5)

hktang avatar hktang commented on September 22, 2024 1

Thank you so much for taking care of this issue. Yes, it seems it only works in the first scenario.

For now maybe we can do this:

  • Use v-html for chart titles and explanation texts.
  • Use 漢字(カナ) format for labels within graphs.
  • Use 漢字(カナ) format footer link texts for now.

Meanwhile, let's check whether Vue-i18n supports raw HTML: https://kazupon.github.io/vue-i18n/guide/interpolation.html#slots-syntax-usage... If so, we can fix the footer links later. What do you think?

from covid-hyogo.

akiya64 avatar akiya64 commented on September 22, 2024 1

Thanks for Idea and reference URL.
I think too that we can put off footer till later.
About summary section, it is better to show hurikatna for summary when release easy japanese mode.
I'll continue to implement summary or date text refering vue-i18n/guide.

from covid-hyogo.

hktang avatar hktang commented on September 22, 2024

Thank you for the nice idea!
手伝ってくれてありがとうございます。

from covid-hyogo.

akiya64 avatar akiya64 commented on September 22, 2024

I try use ruby tag for "やさしい にほんご” mode.

I changed use 'v-html' , it works all language.
<h2>{{ $t("age.title") }}</h2>
changed
<h2 v-html="$t('age.title')"></h2>

2020-09-04_05h50_56

And, If put explanation area on the out side of bar chart template, use ruby tag for chart explanation.
2020-09-04_06h06_28

But I have no idea to use ruby tag inner a tag, like this code.

<i18n path="footer.dataFrom.text" tag="p">
  <template v-slot:0>
    <a :href="urls.spreadsheet">{{ $t("footer.dataFrom.spreadsheet") }}</a>
  </template>
  <template v-slot:1>
    <a :href="urls.hyogo">{{ $t("footer.dataFrom.hyogoPage") }}</a>
  </template>
</i18n>

from covid-hyogo.

hktang avatar hktang commented on September 22, 2024

This repo is also worth exploring...
https://github.com/hexenq/kuroshiro

from covid-hyogo.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.