hat
#42 par Tom sur Desanm 4, 2011 - 10:28 sou Premye, kite m 'di, ou gen yon gwo Plugin. Mwen menm mwen nan USA a, ap travay sou yon sit anyè nan Maròk. Lang la default sou sit la se franse. Sou sit sa a, biznis pouvwa ajoute yon lis anyè a (estanda kalite post) lè l sèvi avèk yon lòt lang. Pou egzanp, si yon biznis yo te ajoute yon lis nan lang angle, Plugin a pral tradui post la (lis) nan tout lang ki aktif, eksepte si lang nan default (paske li kwè ke li franse?). Nan lòt mo, vèsyon an angle ak tradiksyon an franse, yo toulède yo aktyèlman menm vèsyon an angle. Mèt pwopriyete yo sou sit vle tout posts yo montre nan lang la default; yo epi yo dwe disponib nan chak nan lang yo aktif. Èske gen yon shortcode vlope lis a tout antye nan, se konsa li ap montre nan lang la default? (egzanp [TP tradui ="fr"]Alo[/TP] epi li pral montre Bonjour. Oswa, ki gen la kèk lòt fason akonpli sa a?
eng
#42 by Tom on December 4, 2011 - 10:28 am First, let me say, you have a great plugin. I am in the USA, working on a directory site in Morocco. The default language on the site is French. On this site, businesses may add a listing to the directory (standard post type) using a different language. For instance if a business were to add a listing in English, the plugin will translate the post (listing) into all the active languages, except the default language (because it believes it is French?). In other words, the English version and the French translation are both actually the same English version. The site owners want all of the posts to display in the default language; and be available in each of the active languages. Is there a shortcode to wrap the entire listing in, so it will display in the default language? (eg [tp translate="fr"]Hello[/tp] and it will display Bonjour. Or, is there some other way to accomplish this?