Access locale from RBAC Custom Condition

Hi!

I’m familiar with the basics of how to create a RBAC Custom Condition, using the manually created fields on a given content type.

I now want to create a translator role, which only has write access on all entries in their locale. Even though I see lots of examples of translator roles, I can’t find anything on how to implement them. Can anyone point me in the right direction? I think I can make it work if I’d know how to get the locale in the Custom Condition…

Thanks in advance

Still interested in implementing this, if anyone has some insight in the subject…