Hi,
I am working on the Mastodon project and I am currently improving our Crowdin integration with our Github Repository.
We are using the Github action to download the translations and create a Pull Request with them: https://github.com/mastodon/mastodon/blob/main/.github/workflows/crowdin-download.yml
There is a PR generated by the action:
In the export generated by the action, the file config/locales/af.yml
contains those keys:
af:
errors:
'400': The request you submitted was invalid or malformed.
'403': Jy het nie toestemming om hierdie bladsy te sien nie.
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
But af.errors.500
does not exists, it should be af.errors.500.content
and af.errors.500.title
.
I download an export from Crowdin’s interface, and confirmed that those are the same in the manual export.
Those keys appears correctly in the base config/locales/en.yml
file from the repo as well as in Crowdin’s UI:
I am not sure what is happening here, could you explain why incorrect keys are appearing in the export?
We are running various checks on the locale files, and it causes them to fail (see build log here)
Thanks!