In the stream where user selects "Public - Visible to all visitors of the site" / "Community - Visible only to members who are logged in" options can not be translated.

Also while adding a node "Public - visible to everyone including people who are not logged in" and "Community - visible only to logged in members" are not translatable.

Can anyone suggest a quick fix? Maybe i am missing something.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alpp created an issue. See original summary.

alpp’s picture

Also, social post strings like "posted" "commented on content in" "created an event" etc. in the stream, are translatable, but the translations do not take any effect?

Will Open Social have multilingual features? Or at least will it be translatable to another language?

alpp’s picture

After updating all "message templates", now the new publishings are translated correctly in stream.

But i'm still unable to translate public/community dropdown texts.

maikelkoopman’s picture

Component: Front-End » Code (back-end)
Priority: Normal » Major

Values of the dropdown are stored in the DB: /admin/structure/post/settings/fields/post.post.field_visibility/storage

alpp’s picture

Yes i saw it, but isn't there an easy way to make them translatable, for a multilingual site? Even when i translate them, the icons within options just disappear.

ronaldtebrake’s picture

Issue tags: +DevDaysSeville
tarasich’s picture

Status: Active » Needs review
FileSize
2.21 KB

Hi there! We needed to translate these fields for one of our projects.
So here is a patch with *.schema.yml files for two fields:
- entity_access_field
- dropdown
It will allow to translate them.

tarasich’s picture

Category: Support request » Feature request
andypost’s picture

Category: Feature request » Bug report
Priority: Major » Normal
Status: Needs review » Reviewed & tested by the community

It totally makes sense to have config schema defined

BTW it shows missing test coverage for config schema

ribel’s picture

jochemvn’s picture

Hi @andypost,
PR looks good. I'm only wondering what you mean with: "BTW it shows missing test coverage for config schema"
Jochem

jochemvn’s picture

Hi,

I've merged the pull request. Will be part of the next release of Open Social.

Thanks for your contribution!

Jochem

jochemvn’s picture

Status: Reviewed & tested by the community » Fixed
andypost’s picture

I mean that there should be some test coverage to catch such errors

  • 1b9a87f committed on 8.x-1.x
    Merge pull request #413 from goalgorilla/feature/2853954-allow-fields-...
  • tarasich committed fb9ab81 on 8.x-1.x
    Issue #2853954 by tarasich: Add schema files fo custom fields
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.