hugo-coder icon indicating copy to clipboard operation
hugo-coder copied to clipboard

[v2] Fix missing i18n strings

Open luizdepra opened this issue 3 years ago • 18 comments

There are some missing translations. We should find them, translate and add default values.

luizdepra avatar Sep 28 '20 17:09 luizdepra

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 avatar Oct 26 '20 17:10 clement-pannetier

@clement-pannetier posts already exists for Slovak, I believe. Or am I missing something?

a1x42 avatar Oct 26 '20 19:10 a1x42

@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 avatar Oct 26 '20 19:10 clement-pannetier

@clement-pannetier lol, classic case of pebkac! it exists only in my fork! ;-)

a1x42 avatar Oct 26 '20 19:10 a1x42

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?

sdwolfz avatar Oct 26 '20 22:10 sdwolfz

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 avatar Oct 27 '20 12:10 clement-pannetier

@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 avatar Oct 27 '20 13:10 josephting

@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...

clement-pannetier avatar Oct 27 '20 17:10 clement-pannetier

Closed by accident.

luizdepra avatar Oct 27 '20 20:10 luizdepra

Stop closing this issue automatically, Github. xD

luizdepra avatar Oct 27 '20 20:10 luizdepra

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.

luizdepra avatar Oct 27 '20 20:10 luizdepra

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 avatar Oct 27 '20 20:10 luizdepra

@luizdepra Also noticed that I made a typo in the wiki, I wrote "Hugarian" instead of "Hungarian". Two in a row, wow 🤯.

clement-pannetier avatar Oct 27 '20 21:10 clement-pannetier

Fixed, @clement-pannetier. xD

luizdepra avatar Oct 27 '20 22:10 luizdepra

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

josephting avatar Oct 28 '20 03:10 josephting

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 avatar Oct 30 '20 22:10 clement-pannetier

@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.

luizdepra avatar Nov 03 '20 14:11 luizdepra

@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 :)

tobiasehlert avatar Aug 01 '22 13:08 tobiasehlert

There are still some missing translation. I'm going to open another issue to address.

luizdepra avatar Aug 12 '22 15:08 luizdepra