Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Message issue: When a user turned off private messaging and we need to reply his message then we see "page not found"

+3 votes
asked Jul 17, 2015 in Q2A Core by Gurjyot Singh
edited Jul 17, 2015 by Gurjyot Singh
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
answered Jul 17, 2015 by pupi1985
selected Jul 19, 2015 by Gurjyot Singh
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
commented Jul 19, 2015 by pupi1985
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
commented Jul 19, 2015 by Gurjyot Singh
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...