I write Programming articles in my Wordpress website.

My articles contain content for different languages with code samples.

I want to allow user to choose which programming language he prefer.

Example from Android documentation where user can chose Kotlin or Java code:

enter image description here

  • What have you tried so far? Have you looked for a plugin that already provides this functionality, or tried writing some code? – WebElaine Sep 5 '18 at 16:19
  • I have tried plug-ins but they provide only one language – malhobayyeb Sep 5 '18 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.