Translation of status msg
-
Hello,
Firstly I want to thank you for developing this excellent plugin.
Secondly, I would have one single issue (question) regarding the translation of the question status messages that can be found on the question listing page under the question on the left side of the username by default. They are “Open” “Answered” etc.
I know it is probably not the best way, but I translated the plugin via the php files in the plugin editor since I’m used to managing my plugins this way if the plugin has no designated translation menu/page. I’ve managed to do everything except this. I tried changing the the below pasted rows in the status.php (and searched for it in the rest of the files aswell):
function dwqa_question_get_status_name( $status ) { $status = strtolower( $status ); switch ( $status ) { case 'resolved': $message = __( 'Megoldva', 'dwqa' ); break; case 'pending': $message = __( 'Folyamatban', 'dwqa' ); break; case 're-open': $message = __( 'Újranyitás', 'dwqa' ); break; case 'closed': $message = __( 'Lezárva', 'dwqa' ); break; case 'new': $message = __( 'Új', 'dwqa' ); break; case 'answered': $message = __( 'Megválaszolva', 'dwqa' ); break;I found that most display text is next to a ‘dwqa’ tag and I guess this is the one I’ve been searching for here aswell. With everything else it worked, here it still displays the old “Open” and “Answered” tags.
I would be very happy if you could help me with it and sorry if I ask for some extra work for you 🙂
Greetings,
The topic ‘Translation of status msg’ is closed to new replies.