hugo-coder
hugo-coder copied to clipboard
[v2] Fix missing i18n strings
There are some missing translations. We should find them, translate and add default values.
Recap of missing translations:
- [x] Arabic: author, see_also, posts @latiif
- [x] Bengali: author @arafat-hasan
- [ ] Czech: author, posts @tomkys144
- [x] German: author, see_also, posts @AltNico
- [x] Spanish: author, see_also, posts @viticlick @AltNico
- [x] Finnish: author, see_alo, posts @endormi
- [x] French: posts @clement-pannetier
- [x] Hebrew: author, see_also, posts @FIGBERT
- [x] Hindi: author, see_also, posts @iamrajiv
- [x] Hungarian: author, see_also, posts @voroskoi
- [x] Italian: author, posts @came88
- [x] Japanese: author, see_also, posts @josephting
- [x] Malay: author, posts @hussaini
- [x] Dutch: author, see_also, posts @metbril
- [x] Polish: author, see_also, posts @0rzech
- [x] Brazilian Portuguese: author, see_also, posts @luizdepra
- [x] Romanian: author, see_also, posts @sdwolfz
- [x] Russian: author, see_also, posts @PakhomovAlexander @estim
- [x] Swedish: author, see_also, posts @tobiasehlert
- [x] Slovak: author, see_also, posts @a1x42
- [x] Turkish: author, see_also, posts @tosbaha
- [x] Simplified Chinese: author, see_also, posts @PanZiwei
- [x] Taiwan Chinese: author, see_also, posts @TMineCola
Help would be appreciated 👍.
@clement-pannetier posts already exists for Slovak, I believe. Or am I missing something?
@clement-pannetier posts already exists for Slovak, I believe. Or am I missing something?
@a1x42, I don't see [posts] inside the sk.toml
file.
@clement-pannetier lol, classic case of pebkac! it exists only in my fork! ;-)
I'm confused, which entries are actually missing from the translation files? (I can submit the Romanian one no problem, just need to know what is needed)
Would it be just...
[posts]
other = "Articole"
... or are there others?
I'm confused, which entries are actually missing from the translation files? (I can submit the Romanian one no problem, just need to know what is needed)
Would it be just...
[posts] other = "Articole"
... or are there others?
Hi @sdwolfz, you also need to add see_also + author i18n translations.
@clement-pannetier I don't see posts
being used anywhere. Can you explain why we need to add that?
I need to see an example of how it's being used before I can translate it properly.
@clement-pannetier I don't see
posts
being used anywhere. Can you explain why we need to add that? I need to see an example of how it's being used before I can translate it properly.
@josephting, this theme uses one content type, posts. When you go to <url>/posts
(assuming you have a posts folder inside content), there is a h1 element (Posts) that need to be translated. If we add another content type, for example "Projects", this one should be translated too, etc...
Closed by accident.
Stop closing this issue automatically, Github. xD
Guys, I just have updated the en.toml
and pt-br.toml
with all the missing translation. You can use them as base for other translations.
@clement-pannetier, thanks for researching every missing translation and pinging people to help.
Another thing, I think that the category, tag and series translations are no working. Maybe we'll need to add the plural form translation for these words.
@luizdepra Also noticed that I made a typo in the wiki, I wrote "Hugarian" instead of "Hungarian". Two in a row, wow 🤯.
Fixed, @clement-pannetier. xD
Stop closing this issue automatically, Github. xD
lol that's why I made it like this in #455 to not trigger auto closing 😅
Resolves one of the item in #417
Another thing, I think that the category, tag and series translations are no working. Maybe we'll need to add the plural form translation for these words.
@luizdepra, I'm working on that. Do you want to open a new issue ? If you remember, I started to do it when I worked on the projects archetype here #323.
@clement-pannetier I think we could make the fix based on all the already translated texts and ask for people's review. But, sure, I should create another issue.
@clement-pannetier, I've added the Swedish translation in #551. If there is something more missing, please let me know.
Looks also like the German translation (done in #598) and Malay (done in #641) can be ticket off :)
There are still some missing translation. I'm going to open another issue to address.