-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: singularize count-per-tag (in Tags listings) to read "1 post" instead of "1 posts" #349
Comments
Is this the /tags/ page? It works on the demo: https://welpo.github.io/tabi/tags/ |
Yes it is! That's so odd, has this been a very recent fix? I think my tabi copy is from about half a week, less than a week ago.. Anything missing in the config.toml, per chance?
|
Nope. The current pluralisation method was added with #277, four months ago.
|
Oh, interesting pointer! I do have a custom |
As per the docs, you should copy the entire file and then customise it. I know it's not ideal, but there's no better way to do this right now. If you copy the entire file and add/replace a string, everything should work as expected. The caveat is that future tabi updates which change i18n will require you to update the i18n files (or rely on the fallback strings, which work except for pluralisation). |
Oh crikey, guess I missed that part! Thanks... would really be preferable if these toml file overrides would be merged on the fly, but I guess that's a Zola thing not a Tabi thing. Merci then! |
Yeah, it's unfortunate. The current i18n setup is a huge hack and not how translations are supposed to work, but it's much better than the default setup. |
The basic idea: see title =)
To clarify the current situation:
The text was updated successfully, but these errors were encountered: