getgrav / grav-plugin-readingtime

Grav ReadingTime Plugin
https://getgrav.org
MIT License
19 stars 10 forks source link

Labels don't update #9

Closed woutertoday closed 4 years ago

woutertoday commented 7 years ago

page.content|readingtime({ 'minute_label': 'minuut' })

Does not work. Adding all of the labels also doesn't work. I've tried changing/adding to the languages.yaml file, but nothing seems to work.

francescomugnai commented 6 years ago

I've the same issue

Blazeflack commented 6 years ago

I came here with the same issue and noticed this ticket.

mrNo0b commented 6 years ago

You can add those 4 string to your languages.yaml file inside theme folder, but make sure you have same spaces structure as the plugin structure has. so for example to the end of language English strings group you:

en:
  ... langauge strings...
  PLUGIN_READINGTIME:
    SECOND: second
    SECONDS: seconds
    MINUTE: minute
    MINUTES: minutes

worked for me...

Devin-Licastro commented 5 years ago

Same issue. Thanks for the workaround.

ghost commented 4 years ago

Same issue over here. Did we can await a fix? I dont think so... Cant reach the email devs@getgravs.org ^^ Nice... (sarcasm off)