Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1k views
in Q2A Core by
edited by
Let me explain the scenario... Today a user messaged me and I tried to reply him but as I click the reply button, the page reloaded and I saw page not found.

Then I visited that user's profile and found that he has turned off private messaging. That is why I got "Page not found" message.

I think, instead of page not found message, there should display "The user has turned off private messaging." This will give clear idea to rest of the users what actually is happening. Because I am running Q2A site so I know that this is the problem but not everyone would be knowing this issue.
Q2A version: 1.7

1 Answer

+2 votes
by
selected by
 
Best answer
Although I really don't like the idea of having the translation files grow, I think this makes sense. Particularly because it is a bit shocking for the user to see a page not found message. They might assume the user has been deleted.

Just created a pull request to change this behavior: https://github.com/q2a/question2answer/pull/272
by
Ok thank you for the precision.
by
Hello @pupi1985... its awesome that you made a PR so quick for this. But I need to know why it is bad to grow translation files (since you mentioned that you don't like it)??
by
For 2 reasons:

1) The more pieces of text you need to translate the more likely that you quit or don't even start. Everybody would translate 10 pieces of text. We currently have 1150+. The more you have, the more demotivating the task.

2) Take a look at http://www.question2answer.org/addons.php . As you can see, translations are named 1.7.x . The intention, as I mentioned above, is to make all translations of the minor releases compatible. Adding a single line would require to generate new translations. This actually happened in 1.6.3 and translations were not updated so there might be some untranslated texts from 1.6.2 to 1.6.3. To fix this I chose to create a GitHub repo in which I could craft a release per minor version https://github.com/pupi1985/q2a-spanish-translation/releases without the need to notify Gideon
by
Thanks for your reply... so there is no such technical reason for this other than user's comfort... But you are also right that with 1150+ lines it would be really time consuming to make a translation in any language...
...