Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
178 views
in Q2A Core by
closed by
hello, i want o translate some links. how i can do this and where i can find this code. can you help me please?

links:

sitename.com/logout
sitename.com/messages
sitename.com/user/xxx/wall
sitename.com/user/xxx/activity
sitename.com/user/xxx/questions
sitename.com/user/xxx/answers
sitename.com/account
sitename.com/favorites
sitename.com/wall
sitename.com/messages
sitename.com/activity
sitename.com/questions
sitename.com/answers
Q2A version: 1,8
closed with the note: solved. please read last answer for the solution.
by
edit in qa-config.php

    $QA_CONST_PATH_MAP = array(
        'questions' => 'topics',
        'categories' => 'sections',
        'users' => 'contributors',
        'user' => 'contributor',
    );
by
i had chanced these. but there is no what i want to chance in there.
by
you must comment out the code in the section, work for me
https://www.avukatasor.biz/cevaplar
https://www.avukatasor.biz/answers
by
i also want to chance to Turkish language. i did not get the which variable i will chance in qa-config page. i chanced all whih is written. also i tried   'mesaages' => 'mesaj', it did not work.

1 Answer

0 votes
by
selected by
 
Best answer

i had chanced qa-config.php as Ambassador said  most of them is working.

'questions' => 'sorular',
        'categories' => 'kategoriler',
        'users' => 'uyeler',
        'user' => 'uye',
        'unanswered' => 'cevapsiz-sorular',
        'ask' => 'soru-gonder',
        'feedback' => 'iletisim',
        'answers' => 'cevaplar',
        'hot' => 'gundem',
        'account' => 'hesabim',
        'updates' => 'guncellemelerim',
        'tag' => 'etiket',
        'logout' => 'cikis',
        'messages' => 'mesajlar',
        'favorites' => 'favorilerim',

Note: i tested these variable and it is working.

...