- Issue created by @SV
- πΊπ¦Ukraine SV
PR in progress is here: https://github.com/goalgorilla/open_social/pull/3915
- Status changed to Fixed
5 months ago 8:26am 18 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.
"group types" (/admin/structure/taxonomy/manage/group_type/overview displays as untranslated despite that translation have been added
Affected pages/view mods:
- teasers, search page, stream, overview, group page
- Create a test group and add translation of the selected type (term)
- Switch your profile language to different then default one
- See that the group type is still in default language on search, all-groups, homepage featured content block, group node page
social_group_preprocess_group(){
....
replace `$variables['group_type'] = $term->getName();`
with `$variables['group_type'] = \Drupal::service('entity.repository')->getTranslationFromContext($term)->label();`
....
}
Fixed
13.0
Code (back-end)
PR in progress is here: https://github.com/goalgorilla/open_social/pull/3915
Automatically closed - issue fixed for 2 weeks with no activity.