<wpml-config>
	<!--
		Multilingual-plugin integration. WPML reads this file, and so does Polylang.

		Custom fields: a disclosure is a statement about the image, not about the language
		it is shown in, so every one of these must follow the file to a translated copy.
		WPML and Polylang can give each language its own attachment post for the same file;
		without "copy" the translation carries no source type and the badge disappears on
		the translated page. AICL_Plugin::get_type() also resolves this at read time, so a
		site is covered either way, but copying keeps the stored data correct for exports,
		the Article 50 report and the metadata writer.

		Admin texts: the badge and notice wording the site owner types in themselves. The
		built-in defaults are already translated into 22 languages and are used whenever
		these are left empty, so this only matters for owners who write their own.
	-->
	<custom-fields>
		<custom-field action="copy">_aicl_source_type</custom-field>
		<custom-field action="copy">_aicl_embed_status</custom-field>
		<custom-field action="copy">_aicl_reviewed</custom-field>
		<!--
			The text-disclosure record. A translation of an AI-written article is still an
			AI-written article, and the person who held editorial responsibility for the
			original still held it, so all four copy across rather than starting blank.
			A translator who disagrees can change them on the translated post.
		-->
		<custom-field action="copy">_aicl_text_type</custom-field>
		<custom-field action="copy">_aicl_text_reviewed</custom-field>
		<custom-field action="copy">_aicl_text_editor</custom-field>
		<custom-field action="copy">_aicl_text_reviewed_on</custom-field>
	</custom-fields>

	<admin-texts>
		<key name="aicl_settings">
			<key name="badge_text" />
			<key name="badge_modal_title" />
			<key name="badge_modal_text" />
			<key name="chatbot_notice_text" />
			<!--
				The text disclosure the owner writes themselves, and the small mark before it.
				The built-in defaults are already translated into 22 languages and are used
				whenever these are empty, so this only matters for owners who write their own.
				A disclosure only informs somebody if it is in a language they read, which is
				why the wording is registered here rather than left to the source language.
			-->
			<key name="text_disclosure_text" />
			<key name="text_disclosure_mark_text" />
			<key name="badge_labels">
				<key name="trainedAlgorithmicMedia" />
				<key name="compositeWithTrainedAlgorithmicMedia" />
				<key name="basicAI" />
				<key name="algorithmicMedia" />
				<key name="digitalCapture" />
				<key name="digitalCreation" />
				<key name="composite" />
			</key>
		</key>
	</admin-texts>
</wpml-config>
