English Translation

{#if editableEnglish?.translationStatus} {editableEnglish.translationStatus === 'pending' ? 'Pending Approval' : ''} {editableEnglish.translationStatus === 'approved' ? 'Approved' : ''} {editableEnglish.translationStatus === 'needs_update' ? 'Needs Update' : ''} {/if}
{#if errorMessage}
Error: {errorMessage}
{/if} {#if validationErrors.length > 0}
Please fix the following errors:
{/if} {#if isEditMode && changedFields.length > 0}
Changed fields: {changedFields.join(', ')}
Only these fields will be re-translated if you use auto-translate.
{/if} {#if checkingBaseRecipes}

Checking if referenced base recipes are translated...

{/if} {#if untranslatedBaseRecipes.length > 0}

⚠️ Base Recipes Need Translation

The following base recipes need to be translated to English before you can translate this recipe:

{/if} {#if translationState === 'idle'}
Preview (Not yet translated)

The structure below shows what will be translated. Click "Auto-translate" to generate English translation.

{/if} {#if translationState === 'translating'}

Translating recipe...

{/if} {#if translationState === 'idle' || translationState === 'preview' || translationState === 'approved'}

🇬🇧 English Translation

{#if editableEnglish?.tags}
{/if} {#if editableEnglish?.preamble !== undefined}
{/if} {#if editableEnglish?.note !== undefined}
{/if} {#if editableEnglish?.portions !== undefined}
{/if} {#if germanData.images && germanData.images.length > 0}

🖼️ Images - English Alt Texts & Captions

{#each germanData.images as germanImage, i}
{germanImage.alt

Image {i + 1}: {germanImage.mediapath}

{/each}
{/if} {#if editableEnglish?.ingredients || editableEnglish?.instructions}
{#if editableEnglish?.ingredients} {/if}
{#if editableEnglish?.instructions && englishAddInfo} {/if}
{/if} {#if editableEnglish?.addendum !== undefined}
{/if}
{#if translationState === 'idle'} {:else if translationState !== 'approved'} {:else} ✓ Translation Approved {/if}
{/if}