Replies: 3 comments 2 replies
-
@byandrej what database (and version) are you using? I would expect |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm going to go out on a limb and guess: MySQL with a case-insensitive table collation? |
Beta Was this translation helpful? Give feedback.
2 replies
-
I have adressed this in the following issue: #758 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to translate a page using PO editor. But I got error: get() returned more than one String -- it returned 2!
An error was made by one of query selector in wagtail_localize/models.py:
with kwargs {'data': 'Lokacija', 'locale_id': 1},
clone:<QuerySet [<String: String object (662)>, <String: String object (663)>
In wagtail_localize_string there were two strings with the same name but one started with a capital letter and the other with a small letter (One is probably title and the other is slug). In DB I found 10 duplicated strings, all of them with same situation.
Any idea how to solve this?
Django Version: 4.0.6
Python Version: 3.10.4
Wagtail: 2.16.2
wagtail-localize: 1.2.1
Beta Was this translation helpful? Give feedback.
All reactions