I’m guessing that you are using language tags around ‘polish textdeutschland text’ i.e. <!--:pl-->polish text<!--:--><!--:de-->deutschland text<!--:--> but that they got ignored when you posted your answer.
I’m pretty sure what you need to be doing is using the __() (which returns the translation for use in php code) and _e() (echo’s direct to screen) wordpress functions. If you look at the qTranslate support forum FAQ #14, he uses the example:
<?php _e("<!--:en-->english text<!--:--><!--:de-->german text<!--:-->"); ?>
In your case I think you want to use:
<?php __(get_option('example')); ?>
This is assuming that you are using it within your plugin. If you’re using it in a page template you’d use:
<?php _e(get_option('example')); ?>
Related Posts:
- Load MediaPlayerElement after Infinity Scroll loads more posts
- How to submit form data in the same page in WordPress without reloading the page?
- How to get the Date Format and Time Format settings for use in my template?
- Localization: I want the backend: english and frontend in defined language
- How to make a script load after Custom Block is loaded in the editor?
- When adding a custom REST endpoint, where do you put the endpoint function, and where do you put the function registration call?
- Custom editor field displaying HTML in Visual editor
- Making a configurable field translatable
- When using the block.getSaveElement hook can you output different markup based on whether or not you are in the edit view or the live page view?
- Getting $comments outside the comment template
- simple expandable vertical menu, java script problem
- How to translate month names in “Archives”
- How wp_ajax_nopriv since WordPress 3.1
- On Install, which code sets the ‘home’ option?
- trying to modify colormag-fr_FR.po
- dynamic external javascript generated using php
- Widget Javascript code (ajax)
- Custom widget select options needs to stay selected after save
- How to display something in a div when the user clicks on a text in another div – no page refresh [closed]
- Custom Login and Registration form in Ajax
- How to link external JavaScript files?
- Include user defined styles without including wp-load
- Calling a php file from a javascript file in wordpress
- add JS to multiple plugin admin pages
- Create simple Cookie Box for WordPress
- how to add custom css and js on wordpress post editor directly without using .php file
- Warning: Creating default object… when altering Customize panels
- Ajax – Call to undefined function get_option()
- Load more posts with multiple queries
- WordPress slugs and 404 handling takes preference over folders in site root?
- Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
- What changes we need to make to a theme so it can be installed as a MU Theme?
- window resizing problem
- Viewing checkout page removes fees from mini cart
- Include custom JS without child theme
- How can I display a PHP foreach loop’s answers by AJAX
- How to add a do_action on refreshing of WP customizer?
- Localization: I want the backend: english and frontend in defined language
- Redirect to another page using contact form 7? [closed]
- Custom Login Process
- WordPress : using AJAX to get posts & Sidebar Content to an external application
- Upload a web module (html and JS) to wordpress
- How to add WordPress JS Script Links
- custom css and javascript not working on page defined as template?
- Translate custom template with WPML
- wp_enqueue_script JS code runs too late (after user begins interacting)
- custom email validation using javascript api with elementor pro and code snippets
- javascript file not working in a plugin template file
- How do I make mysite.com/comingsoon WordPress to become my main website’s WordPress?
- mailchimp integration on a custom footer
- Javascript Tooltip not fully working on my wordpress page
- POST 429 Error when trying to place more than 20 images into post at once
- Where to put coding a validation script for store? [duplicate]
- How to add the option to choose between sizes for featured image within post editor?
- WordPress Customizer: Check for value of CSS selector and replace it
- Jquery wrap permalink in a data-attribute?
- how to auto fille conatct form 7 when user is logined
- How to implement custom Javascript to my site
- Multi-site customization
- AJAX save options inside class
- Edit a custom admin page
- Pass the post ID
- how to register / add multiple options into one field in wordpress?
- Custom options – register, defaults and delete empty fields (Settings API)
- Unable to show messages using ‘admin_notices’
- How to delete orphan userdata from array in wp-options
- retrieve theme custom settings
- Document.body.scrollTop in WordPress
- menu customization
- Adding Custom HTML/CSS/JS code in specific page
- Making custom pages (with an example to explain the goal)
- Prevent posts from being published if the ‘Uncategorized’-category or no category is selected
- Particle.js not loading in WordPress Gutenberg
- Multi color post title by using custom javascript inside the gutenberg editor?
- Customizing the Subject Field in WordPress’ Notification Emails?
- How to move wp-content (or uploads) outside of the WordPress directory
- How to Create a Custom WordPress Install Package?
- Redirect to requested page after (custom) login
- Page load requires a trailing “/” [closed]
- How to speed up admin-ajax.php in wordpress
- Remove template drop down for certain pages
- how to get the categories for a single product in a hierarchical way
- Performance optimization of tree like structure
- Save & Publish disabled for two dimensional array Customizer
- Open “Visit site” in a new window?
- Run javascript upon successfully set featured image
- What’s the right way to share data between widgets?
- Importing specified data/field
- Mimicking admin panel menu from wordpress 3.0.1
- query variables for custom taxonomies
- wordpress custom fields loop
- How do I add a dropdown menu to a form?
- Issue with navigation bar in child theme
- How to add rewrite rule for product compare page?
- Local and live synchronized dev and production environment [closed]
- Getting a jQuery library to work in WordPress & Avada
- Turn Autocomplete on
- Add a custom field for sorting the products in a specific category WOOCOMMERCE – Second try
- I got this error POST https://localhost/meraboilerwp/[object%20Object] 404 (Not Found)
- This plugin helps create custom buddypress group tabs but it is producing a 404 error, how can it be edited, is it the screen_function?The code is i