Closed bengreeley closed 1 year ago
I did some investigation about this. The problem is with the translation JSON keys nested more than 2 levels deep.
Here, the ancestors
are only added to the direct children, but the grandchildren's ancestors
array stays the same, at max 2-level deep.
@obulat that makes sense, the ancestors are not populated till later so the array only holds 1 element, the parent.
That would mean that our POJO file has been incorrect 😱 since moving to JSON5. Seems like "🟥 priority: critical" would be appropriate here.
Description
I noticed there are a couple of strings that aren't translated on the site at https://openverse.org. This may be something that will be taken care of in the future since the new layout just launched, but I wanted to flag it. I tested in German, but other languages also seem to be consistent with these findings.
Reproduction
Go to https://openverse.org, change the language (I selected Deutsch), and a couple of strings on the homepage aren't translated:
Search for content and you'll find additional untranslated strings such as https://openverse.org/de/search/?q=test