%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
I assume that "n" gender is for a neuter? We should use "n:ło" then, not "n:ł/ła" then. Unless I'm wrong and "n" stands for a case when we cannot determine user's gender (eg. he hasn't filled this field in pofile)?
i18n-inflector-rails documentation: https://github.com/siefca/i18n-inflector-rails#in-a-yaml-file
the other problem is: does it relate to the gender of the user that created the content or to the user that's reading it?
The gender is currently rudimentarily guessed from the profile data, https://github.com/diaspora/diaspora/blob/develop/app/controllers/application_controller.rb#L97 and only set for the currently signed in user. i18n-inflector supports passing multiple kinds on a per key basis, but this is basically nowhere integrated. Also note that the application is more and more ported to the client side with client side rendering and that our client side i18n support has no integration with the inlfection system at all.
Also note that the application is more and more ported to
the client side with client side rendering and that our client
side i18n support has no integration with the inlfection
system at all.
So if at all possible, we should avoid using inflection support. Shame, but possible to work around.
Thanks!
Note that we totally would accept any contributions to improve the inflection support in any of those areas though!
would love to help, but I neither have the time to work on yet another code base (far too many projects on backburner :) nor am I comfortable enough with ruby or JavaScript to write library code
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.
%{actors} sent you a message.