ટ્રાન્સપોશ - ભાષા અવરોધો બ્રેકીંગ

આ transposh.org WordPress પ્લગઇન નિદર્શન અને સપોર્ટ સાઇટ

  • ઘર
  • અમારો સંપર્ક કરો
  • ડાઉનલોડ
  • વારંવાર પૂછાતા પ્રશ્નો
    • દાન કરો
  • ટ્યુટોરીયલ
    • વિજેટ શોકેસ
  • વિશે

સંસ્કરણ 1.0.9.5 – કોડ રોટ સામે લડવું

માર્ચ 15, 2025 દ્વારા ofer 10 ટિપ્પણીઓ

પછી 16 ઓપરેશનના વર્ષો અને નવા પ્રકાશન વિના બે વર્ષથી વધુ, અમારા પ્લગઇનને કોડ રોટ તરીકે ઓળખાતા વ્યાપક પડકારનો સામનો કરવો પડ્યો. આ મુદ્દો ises ભો થાય છે જ્યારે સમય જતાં વિધેયમાં ઘટાડો થાય છે - પ્લગઇનના કોડમાં ફેરફાર કર્યા વિના પણ - બાહ્ય પરિબળોને ધ્યાનમાં રાખીને. નવી વર્ડપ્રેસ રીલીઝ, અપડેટ પીએચપી સંસ્કરણો, અને અનુવાદ સેવાઓમાં પાળી કાળજીપૂર્વક ડિઝાઇન કરેલી સુવિધાઓને વિક્ષેપિત કરી શકે છે.

ભાષાંતર 1.0.9.5, અમે આ પડકારોનો સામનો કર્યો છે, અનુવાદ એન્જિન પર પ્રાથમિક ધ્યાન કેન્દ્રિત સાથે. અમે જૂનો કોડ કા removed ી નાખ્યો અને યાન્ડેક્સ અને બાયડુ અનુવાદ સેવાઓ માટે સપોર્ટને પુનર્સ્થાપિત કરવા માટે નવા અમલીકરણો રજૂ કર્યા, જેણે તાજેતરના વર્ષોમાં કામ કરવાનું બંધ કરી દીધું હતું. આ અપડેટ્સ સુનિશ્ચિત કરે છે કે અનુવાદ સુવિધાઓ ફરી એકવાર સંપૂર્ણ રીતે કાર્યરત છે. વધારામાં, અમે સમય જતાં આ અનુવાદ સેવાઓમાં ઉમેરવામાં આવેલી નવી ભાષાઓ શામેલ કરવા માટે ભાષા સપોર્ટને વિસ્તૃત કર્યો છે.

આ પ્રકાશન પ્લગઇનને વિશ્વસનીય અને અસરકારક રાખવા માટેના અમારા સમર્પણને પ્રતિબિંબિત કરે છે, તકનીકીઓ અને સેવાઓના વિકસતા લેન્ડસ્કેપને અનુકૂળ.

અમે એક નવું વિજેટ રજૂ કર્યું છે જે પ્રમાણભૂત ધ્વજ ઇમોજીસનો ઉપયોગ કરે છે, જેને વર્ષોથી સેટ ઇમોજીમાં સમાવિષ્ટ કરવામાં આવી છે. આ અપડેટ વિજેટના કોડને નોંધપાત્ર રીતે સરળ બનાવે છે, જ્યારે તમારી વિશિષ્ટ જરૂરિયાતોને પહોંચી વળવા માટે ફ્લેગોના સરળ કસ્ટમાઇઝેશનને પણ સક્ષમ કરવું.

તમે અમારી સાઇટ પર ક્રિયામાં આ નવા વિજેટને ચકાસી શકો છો, જ્યાં અમે એક હોંશિયાર સીએસએસ યુક્તિ ઉમેરી છે જે વર્તમાન ભાષાના ચિહ્નને અન્ય કરતા બે વાર બનાવે છે, કોડની નીચેની બે લાઇનો સાથે પ્રાપ્ત!
.transposh_flags{font-size:22px}
.tr_active{font-size:44px; float:left}

અમે આશા રાખીએ કે તમે આ નવા સંસ્કરણનો આનંદ માણશો!

હેઠળ દાખલ: સામાન્ય સંદેશાઓ, પ્રકાશન જાહેરાત, સોફ્ટવેર સુધારાઓ સાથે ટૅગ કરેલા: મરણોત્તર, પ્રકાશન, વિજેટ, WordPress પ્લગઇન

ટિપ્પણીઓ

  1. મટ્ઝ કારાજનોવ કહે છે

    માર્ચ 16, 2025 ખાતે 3:52 છું

    How to translate your meta title and description with transposh!

    After some “vibe coding” as they say (people who don’t know how to code but still code with AI) I figured out in a creative way how to translate the meta title and description when using transposh.

    As an SEO marketing guy that was something that really bothered me. Translated sites, with English results in google.

    So how did I do it.

    First I added this php snippet (created by Grok 3)
    That translated the meta title for me.

    I called it Meta Title and Description in WP Snippet:

    add_filter('rank_math/frontend/title', function($title) {
    global $my_transposh_plugin;

    // Controleer of Transposh actief is
    if (!isset($my_transposh_plugin) || !is_object($my_transposh_plugin)) {
    return $title;
    }

    // Haal de huidige taal op
    $lang = transposh_get_current_language();

    // Vertaal alleen als de taal niet de standaardtaal is
    if ($lang && !$my_transposh_plugin->options->is_default_language($lang)) {
    // Gebruik fetch_translation om de title te vertalen
    list(, $translated_title) = $my_transposh_plugin->database->fetch_translation($title, $lang);
    if ($translated_title) {
    $title = $translated_title;
    }
    }

    return $title;
    });

    add_filter('rank_math/frontend/description', function($description) {
    global $my_transposh_plugin;

    // Controleer of Transposh actief is
    if (!isset($my_transposh_plugin) || !is_object($my_transposh_plugin)) {
    return $description;
    }

    // Haal de huidige taal op
    $lang = transposh_get_current_language();

    // Vertaal alleen als de taal niet de standaardtaal is
    if ($lang && !$my_transposh_plugin->options->is_default_language($lang)) {
    // Gebruik fetch_translation om de description te vertalen
    list(, $translated_description) = $my_transposh_plugin->database->fetch_translation($description, $lang);
    if ($translated_description) {
    $description = $translated_description;
    }
    }

    return $description;
    });

    – After this snippet > The Title was translated, but not the description. After further vibing and reaching a dead-end with Grok i figured that basically the transposh plugin was fetching the translation from the database multiple times.

    So i told Grok, hey if we add the meta title and description in the footer (hidden) as text.
    And Transposh translates it, if we than pull the description from the database that transposh manages for us wouldn’t it be translated?

    And Grok3 confirmed and gave me this snippet (after giving me a compliment for thinking outside the box)

    // Voeg de meta title en description toe aan de footer, alleen als de description is ingevuld
    add_action('wp_footer', function() {
    global $post;
    if (is_singular() && $post) {
    $meta_title = get_post_meta($post->ID, 'rank_math_title', true);
    $meta_description = get_post_meta($post->ID, 'rank_math_description', true);

    // Controleer of de meta description is ingevuld
    if (!empty($meta_description)) {
    // Standaard meta title als deze leeg is
    if (empty($meta_title)) {
    $meta_title = get_the_title($post->ID);
    }
    ?>

    document.addEventListener('DOMContentLoaded', function() {
    var metaElement = document.getElementById('transposh-meta');
    if (metaElement) {
    var translatedText = metaElement.innerText || metaElement.textContent;
    // Splits de tekst weer op in title en description (na vertaling)
    var parts = translatedText.split(' | ');
    var translatedDesc = parts[1] || translatedText; // Gebruik description na de |, anders hele tekst

    var metaTag = document.querySelector('meta[name="description"]');
    if (metaTag) {
    metaTag.setAttribute('content', translatedDesc);
    } else {
    var newMeta = document.createElement('meta');
    newMeta.name = 'description';
    newMeta.content = translatedDesc;
    document.head.appendChild(newMeta);
    }
    }
    });

    <?php
    }
    }
    });

    Just note, that I was using Rankmath as my SEO plugin, This maybe will work with Yoast? Or Other plugins, but I am sure if you feed this entire comment to an AI tool of your choice it could fix the correct fields for Yoast and others.

    Happy Translating guys and thank you for picking up the support of this plugin after so many years 🙂
    One of my top 3 secret weapons for sure!

    જવાબ
  2. મટ્ઝ કારાજનોવ કહે છે

    માર્ચ 16, 2025 ખાતે 3:57 છું

    Sorry I forgot to mention something.

    // Voeg de meta title en description toe aan de footer, alleen als de description is ingevuld

    If you’d translate this to english it says Add the meta title and description to the footer only if the description is filled in.

    The reason why only if it’s filled in is the same reason why I figured this footer trick would work.

    If I had a unique meta description for my pages, that was not on the website. It was not translated.

    But when I didn’t add a translation at all, and kept it empty, it will pull the top words of the page. So when I only added the first snippet above, it was only translating the title, because the title is also written on the page. but the meta description was unique and nowhere seen on the website.

    That’s basically how I figured out if we add an invisible meta description in the footer > we can translate meta titles and descriptions with that first snippet above.

    So you need both snippets for it to work.
    Or only the first if you never fill in your descriptions anyways. don’t bother.

    જવાબ
  3. ક bobંગ કહે છે

    માર્ચ 18, 2025 ખાતે 3:51 છું

    When I save post, It shows this error:
    Warning: Undefined array key “b” in \wp-content\plugins\transposh-translation-filter-for-wordpress\core\constants.php on line 1702

    I solved it by changing this code on line 1702

    જો ($langrec[‘engines’][$એન્જિન]) {

    પ્રતિ

    જો (ગયો($langrec[‘engines’][$એન્જિન])) {

    જવાબ
    • ofer કહે છે

      માર્ચ 18, 2025 ખાતે 11:11 છું

      આ જાણ કરવા બદલ આભાર, માં સુધારાઈ https://github.com/oferwald/transposh/commit/70f1a6bafc72a0358b42ada8a576a9f02b5ed136

      જવાબ
  4. લુલુ ચેંગ કહે છે

    માર્ચ 28, 2025 ખાતે 4:17 છું

    નમસ્તે, I use Ranmath for my website, Butthe title and description will not be translated,But the version a few years ago was OK,Can this plugin be optimized? આભાર

    જવાબ
    • ofer કહે છે

      માર્ચ 30, 2025 ખાતે 2:05 PM પર પોસ્ટેડ

      Had I known what Ranmath is, than maybe. I can only assume they changed something. And I can’t test things I know nothing of.

      જવાબ
      • લુલુ ચેંગ કહે છે

        માર્ચ 30, 2025 ખાતે 5:41 PM પર પોસ્ટેડ

        માફ કરશો, I entered a wrong information, it is Rank math.

        જવાબ
  5. ક wંગું કહે છે

    એપ્રિલ 5, 2025 ખાતે 10:11 છું

    I installed the latest version, but the language bar is blank. Please take the time to update the error. આભાર.

    જવાબ
  6. Stacy કહે છે

    એપ્રિલ 8, 2025 ખાતે 2:52 PM પર પોસ્ટેડ

    Hello and sorry to come with a report but
    in admin in meta-box (define the language of the text) doesn’t work as he should. It show number rather than country.
    revert back to 1.0.9.4 working

    જવાબ
  7. zyલટી કહે છે

    એપ્રિલ 24, 2025 ખાતે 4:52 છું

    why our plugin translates “Explosion Proof” as “爆炸性证明” or “爆炸式证明” instead of “防爆”.

    જવાબ

Leave a Reply to ofer જવાબ રદ કરો

તમારું ઇમેઇલ સરનામું પ્રકાશિત કરવામાં આવશે નહીં. જરૂરી ક્ષેત્રો ચિહ્નિત થયેલ છે *

અનુવાદ

🇺🇸🇸🇦🇧🇩🏴󠁥󠁳󠁣󠁴󠁿🇨🇳🇹🇼🇭🇷🇨🇿🇩🇰🇳🇱🇪🇪🇵🇭🇫🇮🇫🇷🇩🇪🇬🇷🇮🇳🇮🇱🇮🇳🇭🇺🇮🇩🇮🇹🇯🇵🇮🇳🇰🇷🇱🇻🇱🇹🇲🇾🇮🇳🇮🇳🇳🇴🇵🇱🇵🇹🇵🇰🇷🇴🇷🇺🇷🇸🇸🇰🇸🇮🇪🇸🇸🇪🇮🇳🇮🇳🇹🇭🇹🇷🇺🇦🇵🇰🇻🇳
મૂળભૂત ભાષા તરીકે સેટ કરો
 અનુવાદ સંપાદિત કરો

પ્રાયોજકો

અમે અમારી પ્રાયોજકો આભાર માંગો!

સ્ટેમ્પ કલેક્ટરે, સિક્કા, બૅન્કનોટ, TCGs, વિડિઓ ગેમ્સ અને વધુનો આનંદ માણો Transposh-અનુવાદિત Colnect 62 ભાષાઓ. સ્વેપ, એક્સચેન્જ, તમારી વ્યક્તિગત સંગ્રહ માંગે અમારા સૂચિ મદદથી. તમે શું એકત્રિત નથી?
કનેક્ટિંગ કલેક્ટર્સ: સિક્કા, સ્ટેમ્પ અને વધુ!

તાજેતરના ટિપ્પણીઓ

  1. zyલટી ચાલુ સંસ્કરણ 1.0.9.5 – કોડ રોટ સામે લડવુંએપ્રિલ 24, 2025
  2. Stacy ચાલુ સંસ્કરણ 1.0.9.5 – કોડ રોટ સામે લડવુંએપ્રિલ 8, 2025
  3. ક wંગું ચાલુ સંસ્કરણ 1.0.9.5 – કોડ રોટ સામે લડવુંએપ્રિલ 5, 2025
  4. લુલુ ચેંગ ચાલુ સંસ્કરણ 1.0.9.5 – કોડ રોટ સામે લડવુંમાર્ચ 30, 2025
  5. ofer ચાલુ સંસ્કરણ 1.0.9.5 – કોડ રોટ સામે લડવુંમાર્ચ 30, 2025

ટૅગ્સ

0.7 0.9 એજેક્સ બિંગ (MSN) અનુવાદક જન્મદિવસ BuddyPress bugfix નિયંત્રણ કેન્દ્ર સીએસએસ sprites અન્ય પ્રોગામની ભૂલ શોધીને કમ્પ્યુટર પ્રોગામની ખામીઓ શોધીને સુધારવી. દાન અનુવાદ દાન મરણોત્તર નકલી ઇન્ટરવ્યુ ધ્વજ ફ્લેગ sprites સંપૂર્ણ સંસ્કરણ ગેટટેકસ્ટ Language Google-xml-sitemaps ગૂગલ અનુવાદ મુખ્ય નાના વધુ ભાષાઓ પાર્સર વ્યાવસાયિક અનુવાદ પ્રકાશન RSS securityfix SEO shortcode shortcodes ઝડપ ઉન્નત્તિકરણો શરૂ themeroller Trac UI વિડિઓ વિજેટ wordpress.org વર્ડપ્રેસ 2.8 વર્ડપ્રેસ 3.0 WordPress મુ WordPress પ્લગઇન WP-સુપર-cache XCache

વિકાસ ફીડ

RSS Error: A feed could not be found at `https://github.com/oferwald/transposh/commits.atom`; the status code is `429` and content-type is `text/html; charset=utf-8`

સમાજ

  • ફેસબુક
  • પક્ષીએ

દ્વારા ડિઝાઇન LPK સ્ટુડિયો

શકાય (આરએસએસ) અને ટિપ્પણીઓ (આરએસએસ)

કોપીરાઈટ © 2025 · Transposh LPK સ્ટુડિયો ચાલુ જિનેસિસ ફ્રેમવર્ક · વર્ડપ્રેસ · પ્રવેશ કરો