- This topic has 0 replies, 1 voice, and was last updated 7 months ago by .
Hello, this is a feature that I do not know if your system is capable to responding.
Each CUSTOM POST-TYPE is in a language and records the data in CUSTOM TABLES.
To turn the system into multilingual, without plugins I need the data logger to work as follows:
Create post > Registers the data in CUSTOM TABLE and assigns the POST ID as example below:
MAKE BASE POST – CUSTOM TABLE POST DATA
ID | POST_NAME | POST_DESC | ID_CATEGORY | REF
123 | Some Title A | To translate | 21 | 125678
124 | Some Title B | To translate | 22 | 45678
*ID_CATEGORY Gets data from other custom table
Post Translations as CUSTOM TABLE example
CUSTOM TABLE TRANSLATIONS
ID |ID_POST |ID_LANG |POST_NAME |POST_DESC
501 |123 |1 |Some Title A lang 1 |Some desc lang 1
502 |123 |2 |Some Title A lang 2 |Some desc lang 2
503 |124 |1 |Some title lang1 |Some desc lang 1
504 |124 |2 |Some title lang2 |Some desc lang 2
ID_POST – ID of post form table data
ID_LANG – ID of lang form CUSTOM_TABLE LANGUAGES
ID – Id of new record (not related with post)
I need the options of translation in the various idioms to be available in the creation of the post:
In other words, when creating the post, it created the translations in is TABLES
Currently I have to create several posts:
1º Create post Ex Name1 to get is ID
2º Create post with language 1 for Post Ex Name1 by custom post type with selection of post
2º Create post with language 2 for Post Ex Name1 by custom post type with selection of post
The common point is that the post ID Ex Name1 must exist to be referenced in the Posts of each translation. This ID is only created when the POST is saved.
He wanted the Post Creation to exist in several stages of data logging:
1 – Create post (assign ID X) with is not translated data
After save show fields to translation of is contents in is sereral langs
show options for lang 1 and after save show options for lang 2
2 – Translation for language 1 for the post with the ID X (same id point 1)
3 – Translation for language 2 for the post with the ID X (same id point 1)
Post Data go to TABLE DATA
Post translations Go to table TRANSLATIONS
Commom point POST_ID
Can you assist this?
- You must be logged in to reply to this topic.