ຄຳອະທິບາຍ
WPML.org has an excellent plugin to make WordPress sites multilingual. As well as powerful tools to manage the translation and translators.
Reusable Text Blocks makes centralizing reusable text quick and easy.
https://wordpress.org/plugins/reusable-text-blocks/
WPML doesn’t work Reusable Text Blocks and other similar type plugins, resulting in messy workarounds.
The solution was suggested on this thread:
http://wpml.org/forums/topic/conditional-language-shortcode/
And so WPML Shortcode Translator was created so you can use power of WPML anywhere. For example:
[wpml_language language=”enâ€]Hello[/wpml_language]
[wpml_language language=“jaâ€]ã“ã‚“ã«ã¡ã¯[/wpml_language]
Enjoy.
ການຕິດຕັ້ງ
- Download the wpmlshortcodetranslator.zip
- Upload to ‘/wp-content/plugins/’ folder
- Activate the plugin through the ‘Plugin menu in WordPress backend plugin section’
- Add shortcode [wpml_language language=”en”]your content[/wpml_language] (eg: language=”en” is for english ) to your post/page textblock.
ຄຳຖາມທີ່ພົບເລື້ອຍ
- Example of short code usage
-
Add shortcode [wpml_language language=”en”]your content[/wpml_language] (eg: language=”en” is for english ) to your post/page textblock.
- Do I need to have WPML.org plugin installed?
-
Yes.
- Is the ELSE clause supported?
-
No.
ການຣີວິວ
ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.
ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ
“WPML Shortcode Translator” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.
ຜູ້ຮ່ວມພັດທະນາແປ “WPML Shortcode Translator” ເປັນພາສາຂອງເຈົ້າ.
ສົນໃຈຮ່ວມພັດທະນາບໍ່?
ເບິ່ງລະຫັດ, ກວດເບິ່ງ ຄັງເກັບ SVN, ຫຼື ຕິດຕາມ ບັນທຶກການພັດທະນາ ຜ່ານ RSS.
ບັນທຶກການປ່ຽນແປງ
1.0
- Welcome!