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

closed how to translate some links?

0 votes
145 views
asked Apr 11 in Q2A Core by atanik
closed Apr 14 by atanik
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.
commented Apr 11 by Ambassador
edit in qa-config.php

    $QA_CONST_PATH_MAP = array(
        'questions' => 'topics',
        'categories' => 'sections',
        'users' => 'contributors',
        'user' => 'contributor',
    );
commented Apr 11 by atanik
i had chanced these. but there is no what i want to chance in there.
commented Apr 11 by Ambassador
you must comment out the code in the section, work for me
https://www.avukatasor.biz/cevaplar
https://www.avukatasor.biz/answers
commented Apr 11 by atanik
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
answered Apr 11 by atanik
selected Apr 14 by atanik
 
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.

...