Skip to content

czech (cs) translation, initial#751

Open
zvolsky wants to merge 3 commits intosunscrapers:masterfrom
zvolsky:trans_cs
Open

czech (cs) translation, initial#751
zvolsky wants to merge 3 commits intosunscrapers:masterfrom
zvolsky:trans_cs

Conversation

@zvolsky
Copy link
Copy Markdown

@zvolsky zvolsky commented Jul 25, 2023

Just a new language (cs) translation.

It is a little unsure if cs_CZ or cs should be used, but czech language is used in Czech Rep. only (except of really ultra small minorities in Romania, Serbia (or maybe Swiss or USA)).
So cs is I think the proper way to go.
And it is compatible with Django and Django Admin - this is probably the 1st point.

Best regards.
Mirek Zvolský

Copy link
Copy Markdown
Contributor

@tomwojcik tomwojcik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for you contribution! Overall LGTM. I added a test that loads the translations. I think that depending on how you generated the translations, it may or may not be generated with PO-Revision-Date. To my understanding, it should be matching POT-Creation-Date or newer. In this case, matching, probably. Would you be able to fix it?

FAILED testproject/testapp/tests/test_translations.py::test_constants_translations_are_up_to_date - ValueError: time data '' does not match format '%Y-%m-%d %H:%M'

"Project-Id-Version: djoser\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-01-13 17:40+0100\n"
"PO-Revision-Date: \n"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it match POT-Creation-Date? Weird that's not been autogenerated with PO-Revision-Date.

@tomwojcik
Copy link
Copy Markdown
Contributor

It is a little unsure if cs_CZ or cs should be used

cz is fine :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants