valid-void / MAK

website for Museum fuer angewandte Kunst
0 stars 0 forks source link

language switch #47

Open valid-void opened 3 years ago

valid-void commented 3 years ago

Language switch strategy

branch: ' language '

DE/EN switch button

The button should:

Define 2 environments

Test run

After test run --> production mode

How should we handle podcast > single pages? Translate only the ones where they speak english?

Considering CMS

How do we handle 2 languages considering backend?

Within Strapi we can organize our EN content and DE content in two different ways. Either we create additional collection types (option 1) or we reuse the existing collection types (Projekts, Perspektives, Podcasts, Themes, Impressum).

Option 1

Projekts + EN_projects
Perspektives + EN_perspektives
Podcast + EN_podcast
Theme + EN_theme
Impressum + EN_impressum

Option 2

Projekts (DE+EN)
Perspektives (DE+EN)
Podcast (DE+EN)
Theme (DE+EN)
Impressum (DE+EN)
separated collection types reusing same collection types
DE and EN are completely separated DE and EN share the same collection
+ clear separation beforehand - separation afterwords (graphql)
+ + easy to relate DE and EN version - - relation within same collection is not possible
solution: add text field and paste related link manually
- DE content can not be reused + DE content can be duplicated
- annoying to handling media files  + easy to handle media files
- relations must be added from scratch - - relations must be overwritten (careless mistake?)  
- maintenance + maintenance

Hybrid useful?

Themes could be managed within the same post? e.g. Themes >

Impressum and menu maybe as well What about podcast? It does not contain so many information.

Questions:

How do we handle related projects/perspectives/podcasts? Can we reuse DE related projects/perspectives/podcasts within EN page?

Elements that needs to be translated:

CMS:

Angular:

JSON files:

No translation:

clyptomania commented 3 years ago

Content Internationalization with Strapi

Translating content from a language to another has been requested by many of you. As you may have seen on our website, the Internationalization plugin is not available yet because we need to go out of alpha before developing new plugins. But, no worries, we have a good work around to help you internationalize your content! The solution is: suffix your fields.

https://medium.com/strapi/content-internationalization-with-strapi-507ef5869c15

clyptomania commented 3 years ago

Strapi Roadmap Plan to add Content Internationalization

https://portal.productboard.com/strapi/1-roadmap/c/19-content-internationalization-ce-ee-v3