Zum Hauptinhalt gehen

PHP files: Translate HTML if written from echo or other PHP commands

Kommentare

1 Kommentar

  • Stephan Böhmig

    Follow up: If you use regex to only extracts quoted string content if it "looks" like HTML, you would proceed similar to this:

    Here we only translate quoted text if it contains a <ul> markup:

    Then the entire HTML block is extracted for translation (and not just a portion!) because it contains a <ul> tag.


    Stephan

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.