Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations #102

Merged
merged 218 commits into from
Jun 25, 2024
Merged

Translations #102

merged 218 commits into from
Jun 25, 2024

Conversation

twallnerWaretec
Copy link
Collaborator

reworked db schema for multilingual support

- REPCO_ADMIN_TOKEN=kUBY0zsPHC9ubj3T6DZJKUACi3M=
- REPCO_URL=http://localhost:8765
- CBA_API_KEY=k8WHfNbal0rjIs2f
- AP_BASE_URL=http://localhost:8765/ap
Copy link
Contributor

Choose a reason for hiding this comment

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

The AP_BASE_URL can be removed now that #101 is merged

@@ -591,9 +611,14 @@ export class ActivityPubDataSource
subtitleEntities && entities.push(...subtitleEntities)
}

var titleJson: { [k: string]: any } = {}
titleJson[video.language?.name || 'de'] = { value: video.name }
Copy link
Contributor

@Frando Frando Jun 21, 2024

Choose a reason for hiding this comment

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

Ingo reported a bug about English appearing as an object key, where it should be en. I suspect this line being the cause.

I also noticed an error: Title contains e.g. the word “English” as an object key. There should be a two-digit language code “en” in there.


"title": {
            "English": {
              "value": "A step to the left, a step to the right: the new European centre"
            }

@twallnerWaretec twallnerWaretec merged commit 7912a44 into main Jun 25, 2024
2 checks passed
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.

3 participants