In my User Activity plugin, I create URLs for links like this:
qa_path('user-activity/questions/'.$handle)
and
qa_path('user-activity/answers/'.$handle)
If I use QA_CONST_PATH_MAP I can change the "user-activity" part, e.g.
$QA_CONST_PATH_MAP=array(
'user-activity' => 'userposts',
);
Now the links show up as "userposts/questions/<user>. But if someone wants to translate the "questions" string I don't see a way to do it. I tried adding this to the path map:
'user-activity/questions' => 'userposts/q',
But it doesn't work. Is it possible to change that in any way?