How to make translation column name is working with editing column ?
-
Hello. I want to translate the column name to show front page since mysql column name is in English.
If I use translation with following way, display is ok, but I can’t update column because plugin detect translation as column name(attribute).
Is there any alternative to display translation on listing page and edting is working too ?
// in function.php
add_db_table_editor(‘title=[??]??? ????&table=student_contests&sql=SELECT id, contest_id as ????, post_title as ????, name as ??, grade as ??, class as ?, title as ???, school as ???, address as ????, sender as ???, phone as ????, p_delivery as ???????, p_invoice_num as ????, pre_state as ?? FROM student_contests ORDER BY id DESC’);// error message from ajax response text
<div id=”error”><p class=”wpdberror”>WordPress ?????? ??: [Unknown column '????' in 'field list']UPDATE
student_contests
SET????
= 'aa',????
= '?2? ????????(???) ?????',??
= '??3',??
= '??3',?
= '?3',???
= '???3',???
= '??3',????
= '????3',???
= NULL,????
= '010-0000-0000',???????
= NULL,????
= NULL,??
= '?????' WHEREid
= '274'</p></div>[]
- The topic ‘How to make translation column name is working with editing column ?’ is closed to new replies.