ليس لدى هذا المستخدم أي مواضيع مفضلة.
مواضيع المنتدى المفضلة
مواضيع المنتدى التي تم إنشاؤها
| الحالة |
الموضوع
|
داعم | الأصوات | المشاركات | الحداثة |
|---|---|---|---|---|---|
|
WPML not translating in Global Link / Transperfect
بدأه: BlogAdmin في: English Support |
|
0 | 9 | قبل 3 أسابيع، 3 أيام | |
|
Gutenberg Blocks Non-Synced Pattern with Overrides not translating
بدأه: BlogAdmin في: English Support |
0 | 2 | قبل 3 أشهر، أسبوعين | ||
|
Navigation Translations not showing properly – Transperfect/GlobalLink/Translation.com
بدأه: BlogAdmin
في: English Support
Problem: You are experiencing issues with the Header and Footer not translating correctly on your production site when using Transperfect/GlobalLink/Translation.com. The elements are showing incorrect language tags and the translations are not appearing as expected. Solution: We discovered that all the templates, patterns, blocks, and template part translations were set as drafts, which caused the translation errors. To resolve this, you can use the following custom code snippet to publish all these draft items:
function publish_all_custom_post_types() {
$post_types = ['wp_block', 'wp_template', 'wp_template_part', 'wp_navigation']; // List of post types to update
foreach ($post_types as $post_type) {
$args = array(
'post_type' => $post_type,
'post_status' => 'draft',
'posts_per_page' => -1, // Get all drafts
);
$draft_posts = get_posts($args);
if (!empty($draft_posts)) {
foreach ($draft_posts as $post) {
wp_update_post(array(
'ID' => $post->ID,
'post_status' => 'publish',
));
}
}
}
}
// Run the function automatically in the admin area
add_action('init', function() {
if (is_admin() && current_user_can('manage_options')) {
publish_all_custom_post_types();
}
});
We recommend using this code once and then removing it. Please ensure to perform this operation after taking a full backup of your site. If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum. |
|
0 | 18 | قبل 8 أشهر، أسبوعين | |
|
Request Language Mapping
بدأه: BlogAdmin في: English Support |
|
0 | 13 | قبل 9 أشهر، 1 أسبوع | |
|
Request Language Mapping Not Solved
بدأه: BlogAdmin في: English Support |
|
1 | 6 | قبل 10 أشهر | |
|
Request Language Mapping
بدأه: BlogAdmin في: Chat Support |
|
1 | 2 | قبل 10 أشهر، 1 أسبوع | |
|
Request Language Mapping
بدأه: BlogAdmin في: English Support |
|
0 | 7 | قبل 10 أشهر، أسبوعين |