stefanF-21
Hallo,
auf der Homepage wird das Plugin German Market von Marketpress verwendet. Es generiert die Rechnungen.
Bei wpml string translation ist der Eintrag "wp_wc_invoice_pdf_billing_address_additional_notation" als gesperrt gekennzeichnet. Siehe Anhang. Dies wäre der String bei welchem die nötige Übersetzung zu machen wäre. Gibt es eine Möglichkeit eine benutzerdefinierte xml-Datei zu erstellen um dieses Problem zu lösen?
Freundliche Grüsse
Stefan
Marcel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Zeitzone:
Europe/Madrid (GMT+01:00)
Hallo Stefan,
der String ist aufgrund einer Voreinstellung von MarketPress gesperrt. Diese Einstellung wird über die entsprechende XML-Konfiguration in deren Plugin übergeben.
Im Plugin-Ordner von MarketPress finden Sie die Datei wpml-config.xml. Dort ist der exakte Name des betreffenden Eintrags hinterlegt. Sie können diesen Eintrag 1:1 kopieren und unter WPML → Settings → Custom XML Configuration einfügen. Dadurch wird der Wert entsperrt und kann anschließend übersetzt werden.
Viele Grüße
Marcel
stefanF-21
Hallo Marcel,
im Anhang ein Screenshot des Eintrages in Custom XML. Kannst du bitte prüfen ob mein Eintrag richtig ist. Der String ist immer noch gesperrt.
Freundliche Grüße
Stefan
Marcel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Zeitzone:
Europe/Madrid (GMT+01:00)
Hallo Stefan,
bitte setzen Sie den Eintrag außerhalb von „et_divi“.
Ich gehe davon aus, dass es sich dabei jedoch nicht um einen regulären Key handelt, sondern um einen Eintrag innerhalb der „Custom Fields“ als einzelnes Custom Field. Den genauen Wert finden Sie in der XML-Konfiguration von MarketPress, welche diesen Eintrag sperrt.
Gerne können Sie mir die entsprechende Konfiguration auch zusenden, dann prüfe ich den Feldnamen für Sie.
Viele Grüße
Marcel
stefanF-21
<wpml-config>
<admin-texts>
<key name="woocommerce_de_last_checkout_hints" />
<key name="woocommerce_de_estimate_cart_text" />
<key name="woocommerce_de_avoid_free_items_in_cart_message" />
<key name="woocommerce_de_order_button_text" />
<key name="woocommerce_de_checkbox_text_digital_content" />
<key name="woocommerce_de_checkbox_text_digital_content_notice" />
<key name="woocommerce_de_learn_more_about_shipping_payment_revocation" />
<key name="vat_options_notice" />
<key name="vat_options_non_eu_notice" />
<key name="vat_options_label" />
<key name="german_market_vat_vies_unavailability_error_message" />
<key name="gm_small_trading_exemption_notice" />
<key name="gm_small_trading_exemption_notice_extern_products" />
<key name="wgm_default_tax_label" />
<key name="german_market_checkbox_1_tac_pd_rp_text_no_digital" />
<key name="german_market_checkbox_1_tac_pd_rp_text_digital_only_digital" />
<key name="german_market_checkbox_1_tac_pd_rp_text_mix_digital" />
<key name="german_market_checkbox_1_tac_pd_rp_error_text_no_digital" />
<key name="german_market_checkbox_1_tac_pd_rp_error_text_digital_only_digital" />
<key name="german_market_checkbox_1_tac_pd_rp_error_text_mix_digital" />
<key name="woocommerce_de_checkbox_error_text_digital_content" />
<key name="german_market_checkbox_3_shipping_service_provider_text" />
<key name="german_market_checkbox_3_shipping_service_provider_error_text" />
<key name="german_market_checkbox_4_custom_text" />
<key name="german_market_checkbox_4_custom_error_text" />
<key name="gm_checkbox_product_depending_text_1" />
<key name="gm_checkbox_product_depending_error_text_1" />
<key name="gm_checkbox_product_depending_text_2" />
<key name="gm_checkbox_product_depending_error_text_2" />
<key name="gm_checkbox_product_depending_text_3" />
<key name="gm_checkbox_product_depending_error_text_3" />
<key name="gm_checkbox_product_depending_text_4" />
<key name="gm_checkbox_product_depending_error_text_4" />
<key name="gm_checkbox_5_my_account_registration_text" />
<key name="gm_checkbox_5_my_account_registration_error_text" />
<key name="german_market_checkbox_age_rating_text" />
<key name="german_market_checkbox_age_rating_error_text" />
<key name="gm_checkbox_6_product_review_text" />
<key name="gm_checkbox_6_product_review_error_text" />
<key name="gm_order_confirmation_mail_subject" />
<key name="gm_order_confirmation_mail_heading" />
<key name="gm_order_confirmation_mail_text" />
<key name="woocommerce_de_show_extra_cost_hint_eu_text" />
<key name="german_market_add_to_cart_in_shop_pages_text" />
<key name="wgm_double_opt_in_customer_registration_autodelete_extratext" />
<key name="gm_default_template_requirements_digital" />
<key name="german_market_customizable_product_data_prefix_incl" />
<key name="german_market_customizable_product_data_prefix_excl" />
<key name="de_shop_emails_file_attachment_1" />
<key name="de_shop_emails_file_attachment_2" />
<key name="de_shop_emails_file_attachment_3" />
<key name="de_shop_emails_file_attachment_4" />
<key name="de_shop_emails_file_attachment_5" />
<key name="de_shop_emails_file_attachment_6" />
<key name="de_shop_emails_file_attachment_7" />
<key name="de_shop_emails_file_attachment_8" />
<key name="de_shop_emails_file_attachment_9" />
<key name="de_shop_emails_file_attachment_10" />
<key name="wp_wc_invoice_pdf_file_name_frontend" />
<key name="wp_wc_invoice_pdf_file_name_backend" />
<key name="wp_wc_invoice_pdf_billing_address_additional_notation" />
<key name="wp_wc_invoice_pdf_invoice_start_subject" />
<key name="wp_wc_invoice_pdf_invoice_start_welcome_text" />
<key name="wp_wc_invoice_pdf_text_after_content" />
<key name="wp_wc_invoice_pdf_page_numbers_text" />
<key name="wp_wc_invoice_pdf_fine_print_custom_content" />
<key name="wp_wc_invoice_pdf_refund_file_name_frontend" />
<key name="wp_wc_invoice_pdf_refund_file_name_backend" />
<key name="wp_wc_invoice_pdf_refund_start_subject_big" />
<key name="wp_wc_invoice_pdf_refund_start_subject_small" />
<key name="wp_wc_invoice_pdf_refund_start_refund_date" />
<key name="wp_wc_invoice_pdf_refund_start_welcome_text" />
<key name="wp_wc_invoice_pdf_refund_text_after_content" />
<key name="wp_wc_invoice_pdf_view_order_button_text" />
<key name="wp_wc_invoice_pdf_header_column_1_text" />
<key name="wp_wc_invoice_pdf_footer_column_1_text" />
<key name="wp_wc_invoice_pdf_header_column_2_text" />
<key name="wp_wc_invoice_pdf_footer_column_2_text" />
<key name="wp_wc_invoice_pdf_header_column_3_text" />
<key name="wp_wc_invoice_pdf_footer_column_3_text" />
<key name="wp_wc_invoice_pdf_header_column_4_text" />
<key name="wp_wc_invoice_pdf_footer_column_4_text" />
<key name="wp_wc_invoice_pdf_header_column_5_text" />
<key name="wp_wc_invoice_pdf_footer_column_5_text" />
<key name="wp_wc_invoice_pdf_header_column_6_text" />
<key name="wp_wc_invoice_pdf_footer_column_6_text" />
<key name="wp_wc_invoice_pdf_header_column_7_text" />
<key name="wp_wc_invoice_pdf_footer_column_8_text" />
<key name="wp_wc_invoice_pdf_header_column_8_text" />
<key name="wp_wc_invoice_pdf_footer_column_8_text" />
<key name="wp_wc_invoice_pdf_header_column_9_text" />
<key name="wp_wc_invoice_pdf_footer_column_9_text" />
<key name="wp_wc_invoice_pdf_header_column_10_text" />
<key name="wp_wc_invoice_pdf_footer_column_10_text" />
<key name="wp_wc_invoice_pdf_image_url_header" />
<key name="wp_wc_invoice_pdf_image_url_footer" />
<key name="wp_wc_invoice_pdf_image_url_background" />
<key name="wp_wc_invoice_pdf_cancel_stamp_text" />
<key name="wp_wc_running_invoice_completed_order_email_subject" />
<key name="wp_wc_running_invoice_completed_order_email_header" />
<key name="wp_wc_running_invoice_email_subject" />
<key name="wp_wc_running_invoice_email_header" />
<key name="wp_wc_running_invoice_email_subject_paid" />
<key name="wp_wc_running_invoice_email_header_paid" />
<key name="wp_wc_running_invoice_email_subject_refunded" />
<key name="wp_wc_running_invoice_email_header_refunded" />
<key name="wp_wc_running_invoice_pdf_file_name_backend" />
<key name="wp_wc_running_invoice_pdf_file_name_frontend" />
<key name="wp_wc_running_invoice_pdf_subject" />
<key name="wp_wc_running_invoice_pdf_date" />
<key name="wp_wc_running_invoice_pdf_file_name_backend_refund" />
<key name="wp_wc_running_invoice_pdf_file_name_frontend_refund" />
<key name="wp_wc_running_invoice_pdf_refund_start_subject_big" />
<key name="wp_wc_running_invoice_pdf_refund_start_subject_small" />
<key name="wp_wc_invoice_pdf_additional_pdfs_file_name_terms" />
<key name="wp_wc_invoice_pdf_additional_pdfs_file_name_revocation" />
<key name="wp_wc_invoice_pdf_girocode_remit_recipient_name" />
<key name="wp_wc_invoice_pdf_girocode_remit_recipient_iban" />
<key name="wp_wc_invoice_pdf_girocode_remit_recipient_bic" />
<key name="wp_wc_invoice_pdf_girocode_remit_remittance_text" />
<key name="wp_wc_invoice_pdf_girocode_text" />
<key name="wp_wc_invoice_pdf_girocode_text_under" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_remit_recipient_name" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_remit_recipient_address" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_remit_recipient_postcode" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_remit_recipient_city" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_remit_recipient_country" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_v1_qr_iban" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_v1_customer_id" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_v2_v3_iban" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_v2_creditor_reference" />
<key name="wp_wc_invoice_pdf_swiss_qr_invoice_additional_information_text" />
<key name="woocomerce_wcreapdf_wgm_pdf_file_name" />
<key name="woocomerce_wcreapdf_wgm_pdf_author" />
<key name="woocomerce_wcreapdf_wgm_pdf_title" />
<key name="woocomerce_wcreapdf_wgm_pdf_shop_name" />
<key name="woocomerce_wcreapdf_wgm_pdf_address" />
<key name="woocomerce_wcreapdf_wgm_pdf_shop_small_headline" />
<key name="woocomerce_wcreapdf_wgm_pdf_remark" />
<key name="woocomerce_wcreapdf_wgm_pdf_reasons" />
<key name="woocomerce_wcreapdf_wgm_pdf_footer" />
<key name="woocomerce_wcreapdf_wgm_pdf_file_name_delivery" />
<key name="woocomerce_wcreapdf_wgm_pdf_author_delivery" />
<key name="woocomerce_wcreapdf_wgm_pdf_title_delivery" />
<key name="woocomerce_wcreapdf_wgm_pdf_shop_name_delivery" />
<key name="woocomerce_wcreapdf_wgm_pdf_address_delivery" />
<key name="woocomerce_wcreapdf_wgm_pdf_shop_small_headline_delivery" />
<key name="woocomerce_wcreapdf_wgm_pdf_remark_delivery" />
<key name="woocomerce_wcreapdf_wgm_pdf_footer_delivery" />
<key name="woocomerce_wcreapdf_wgm_view-order-button-text" />
<key name="woocomerce_wcreapdf_wgm_pdf_logo_url_delivery" />
<key name="woocomerce_wcreapdf_wgm_pdf_logo_url" />
<key name="gm_fic_ui_frontend_labels_ingredients" />
<key name="gm_fic_ui_frontend_labels_nutritional_values" />
<key name="gm_fic_ui_frontend_labels_allergens" />
<key name="gm_fic_ui_frontend_remark_nutritional_values" />
<key name="gm_fic_ui_frontend_prefix_nutritional_values" />
<key name="gm_fic_ui_alocohol_default_unit" />
<key name="gm_fic_ui_alocohol_prefix" />
<key name="woocommerce_de_ppu_outpout_format" />
<key name="woocommerce_de_ppu_outpout_format_prefix" />
<key name="wcevc_general_tax_output_text_string" />
<key name="wp_wc_invoice_pdf_emails_link_label_text" />
<key name="wp_wc_invoice_pdf_emails_link_text" />
<key name="wp_wc_invoice_pdf_emails_refunds_link_label_text" />
<key name="wp_wc_invoice_pdf_emails_refunds_link_text" />
<key name="woocommerce_german_market_sepa_direct_debit_settings">
<key name="direct_debit_mandate"/>
<key name="checkbox_confirmation_text"/>
<key name="sepa_mandate_email_subject"/>
<key name="sepa_mandate_email_heading"/>
<key name="prenotification_text"/>
</key>
<key name="gm_legal_information_product_reviews_custom_text" />
<key name="gm_legal_information_product_reviews_short_information_text" />
<key name="woocommerce_de_manual_order_confirmation_payment_methods_hint_text" />
<key name="german_market_variable_price_range_from_prefix" />
<key name="german_market_special_tax_output_tax_information_1" />
<key name="german_market_special_tax_output_tax_information_2" />
<key name="german_market_special_tax_output_tax_information_3" />
<key name="german_market_special_tax_output_tax_information_4" />
<key name="german_market_special_tax_output_tax_information_5" />
<key name="german_market_gpsr_label_manufacturer" />
<key name="german_market_gpsr_label_responsible_person" />
<key name="german_market_gpsr_label_warnings_and_safety_information" />
<key name="german_market_gpsr_default_manufacturer" />
<key name="german_market_gpsr_default_responsible_person" />
<key name="german_market_gpsr_default_warnings_and_safety_information" />
</admin-texts>
<taxonomies>
<taxonomy translate="1">product_delivery_times</taxonomy>
<taxonomy translate="1">product_sale_labels</taxonomy>
<taxonomy translate="1">pa_measuring-unit</taxonomy>
<taxonomy translate="0">gm_fic_nutritional_values</taxonomy>
</taxonomies>
<custom-fields>
<custom-field action="copy">_auto_ppu_complete_product_quantity</custom-field>
<custom-field action="copy">_unit_regular_price_per_unit_mult</custom-field>
<custom-field action="copy">_unit_regular_price_per_unit</custom-field>
<custom-field action="copy">_price_per_unit_product_weights_completely_off</custom-field>
<custom-field action="copy">_digital</custom-field>
<custom-field action="copy">_lieferzeit</custom-field>
<custom-field action="copy">_gm_gtin</custom-field>
<custom-field action="copy">_variable_used_setting_shipping_info</custom-field>
<custom-field action="copy">_v_used_setting_ppu</custom-field>
<custom-field action="copy">_v_auto_ppu_complete_product_quantity</custom-field>
<custom-field action="copy">_v_unit_regular_price_per_unit</custom-field>
<custom-field action="copy">_v_unit_regular_price_per_unit_mult</custom-field>
<custom-field action="copy">_age_rating_age</custom-field>
<custom-field action="copy">_v_used_setting_age_rating</custom-field>
<custom-field action="copy">_suppress_shipping_notice</custom-field>
<custom-field action="translate" style="textarea">product_function_desc_textarea</custom-field>
<custom-field action="translate">_alternative_shipping_information</custom-field>
<custom-field action="translate">_fic_ingredients</custom-field>
<custom-field action="translate">_nutritional_values_remark</custom-field>
<custom-field action="translate">_allergens_info</custom-field>
<custom-field action="copy">_alcohol_value</custom-field>
<custom-field action="copy-once">_alcohol_unit</custom-field>
<custom-field action="copy-once">_nutritional_values_1000-energy</custom-field>
<custom-field action="copy-once">_nutritional_values_2000-fat</custom-field>
<custom-field action="copy-once">_nutritional_values_2100-fat-saturates</custom-field>
<custom-field action="copy-once">_nutritional_values_2200-fat-mono-unsaturates</custom-field>
<custom-field action="copy-once">_nutritional_values_2300-fat-polyunsaturates</custom-field>
<custom-field action="copy-once">_nutritional_values_3000-carbohydrate</custom-field>
<custom-field action="copy-once">_nutritional_values_3100-carbohydrate-sugars</custom-field>
<custom-field action="copy-once">_nutritional_values_3200-carbohydrate-polyols</custom-field>
<custom-field action="copy-once">_nutritional_values_3300-carbohydrate-starch</custom-field>
<custom-field action="copy-once">_nutritional_values_4000-fibre</custom-field>
<custom-field action="copy-once">_nutritional_values_5000-protein</custom-field>
<custom-field action="copy-once">_nutritional_values_6000-salt</custom-field>
<custom-field action="copy-once">_nutritional_values_7000-vitamins-and-minerals</custom-field>
<custom-field action="copy">_german_market_gpsr_ignore_defaults</custom-field>
<custom-field action="copy">_german_market_gpsr_manufacturer</custom-field>
<custom-field action="copy">_german_market_gpsr_responsible_person</custom-field>
<custom-field action="translate" style="textarea">_german_market_gpsr_warnings_and_safety_information</custom-field>
<custom-field action="copy">_german_market_charging_device_pictogram</custom-field>
<custom-field action="copy">_german_market_charging_device_minimum_power</custom-field>
<custom-field action="copy">_german_market_charging_device_maximum_power</custom-field>
<custom-field action="copy">_german_market_charging_device_usb_pd</custom-field>
<custom-field action="copy">_german_market_charging_device_variation_setting</custom-field>
</custom-fields>
</wpml-config>
Marcel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Zeitzone:
Europe/Madrid (GMT+01:00)
Danke! Es wird als normaler Key geführt:
<wpml-config>
<admin-texts>
<key name="wp_wc_invoice_pdf_billing_address_additional_notation" />
</admin-texts>
</wpml-config>
Viele Grüße
Marcel
stefanF-21
Hallo Marcel!
Ich hab zu danken.
Nachdem ich den Code eingefügt habe, den Browser-Cache und den WP-Rocket Cache gelöscht habe, ist der String immer noch gesperrt. Haben Sie eine Idee woran das liegt?
Freundliche Grüße
Stefan
Marcel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Zeitzone:
Europe/Madrid (GMT+01:00)
Ich würde mir das gerne direkt auf Ihrer Seite ansehen. Dazu bräuchte ich bitte temporären Zugriff (WP-Admin und FTP) auf Ihre Seite, vorzugsweise zu einer Test/Staging Seite, an der das Problem nach Möglichkeit repliziert wurde.
Ihre nächste Antwort ist als „Privat“ markiert, dies bedeutet nur Sie und ich haben Zugriff darauf.
❌ Bitte sichern Sie Ihre Datenbank und Website davor ❌
✙ Ich würde außerdem Ihre Erlaubnis benötigen, um Plugins und das Theme zu deaktivieren und erneut zu aktivieren sowie Konfigurationen auf der Seite zu ändern. Dies ist auch der Grund, warum das Backup wirklich wichtig ist.
Viele Grüße
Marcel
Marcel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Zeitzone:
Europe/Madrid (GMT+01:00)
Hallo Stefan,
wir haben es geprüft und da das Plugin einen regulören Key verwendet wäre ein zusätzliches registrieren nicht notwendig.
Der String muss auch so in der String Translation erscheinen, was aktuell nicht der Fall ist. Er wird nicht als admin_* Text ausgegeben, auch nicht wenn dies erneut eingelesen wird.
Bitte prüfen Sie in der _options Tabelle Ihrer Installation ob es den Eintrag für "wp_wc_invoice_pdf_billing_address_additional_notation" als Key gibt. Wenn Sie eine Staging-Seite haben, kann ich dies gerne dort selbst prüfen.
Viele Grüße
Marcel
stefanF-21
Hallo Marcel,
ich habe die Datenbank durchsucht und dort sind Einträge. Siehe Anhang.
Wenn es nötig ist können Sie mit den bereits bekanntgegebenen Credentials sich einloggen. Eine aktuelle Sicherung ist vorhanden.
Freundliche Grüße
Stefan
Marcel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Zeitzone:
Europe/Madrid (GMT+01:00)
Hallo Stefan,
vielen Dank für den Screenshot. In diesem Fall müssen wir das Problem genauer debuggen, um herauszufinden, warum der Wert weiterhin gesperrt bleibt und nicht in der String Translation erscheint. Der Login wurde bereits verwendet, um uns das anzusehen.
Am besten wäre in diesem Fall eine Duplicator-Kopie der Seite, damit wir das Problem lokal analysieren und debuggen können.
Viele Grüße
Marcel