I'm working on a CPT Portfolio to present my job
I wish to be able to have it in 2 languages but I would prefer not to use an additional plugin since that is only 2 fields that would be in 2 language
my idea is :
on the back office of this CPT
- remove original excerpt
remove original text editor
create a custom meta box for language 1
- add to this meta box a custom text area 'intro language 1'
add to this meta box a custom text editor 'intro language 1'
create a custom meta box for language 2
- add to this meta box a custom text area 'intro language 2'
- add to this meta box a custom text editor 'intro language 2'
on the front end
- have a lang switcher with a cookie
- use the correct PO/MO file according to lang
- call the right text area / text editor content according to the lang
is that the correct way to do it?
Thank you in advance for all your help, I'm just scratching the admin section customisation