Skip to content

One source, four treatments ​

Needs Chrome on a desktop

The translation runs on your machine with Chrome's built-in translator. In another browser the page says it cannot translate and shows the original.

A translation that holds no translated text. translated.geml embeds source.geml block by block (geml-translator/v1): Chinese by default, the command kept as written, one line in Japanese, one in French. The browser translates it when it opens, so the translation can never fall behind its source.

The result ​

Open it on its own page

How it is made ​

source.geml is an ordinary English document. translated.geml is a list of embeds of its blocks: its meta asks for Chinese, and three embeds say otherwise — translate-to=none, ja and fr.

geml
=== meta
title = "备份照片(一份原文,四种处理,零手写文字)"
profile = "geml-translator/v1"
translate-to = "zh-cn"
===

=== embed {src=source.geml#backup part=head}
===

=== embed {src=source.geml#backup-before-cmd}
===

=== embed {src=source.geml#cmd translate-to=none}
===

=== embed {src=source.geml#cmd-between-check translate-to=ja}
===

=== embed {src=source.geml#check part=head}
===

=== embed {src=source.geml#check-before-counts}
===

=== embed {src=source.geml#counts}
===

=== embed {src=source.geml#check-after-counts translate-to=fr}
===
geml
=== meta
title = "Back up your photos"
===

# Back up your photos {#backup}

Plug in the external drive and copy the folder across.

=== code {#cmd lang=sh}
rsync -a ~/Pictures/ /Volumes/Backup/Pictures/
===

Then check that nothing was left behind.

## Check {#check}

Compare what each place holds.

=== table {#counts format=csv header=1}
place, photos
laptop, 2140
drive, 2140
===

If the numbers differ, run the copy again.

Last updated:

Code MIT · Specification CC BY 4.0