components/I18n/I18n.php
public function meta_box() {

		$pod = $this->cur_pod;

		if ( ! empty( $this->languages ) ) {
			?>
			<p><?php esc_html_e( 'Enable/Disable languages for this Pod', 'pods' ); ?></p>
			<p>
				<small class="description"><?php esc_html_e( 'This overwrites the defaults set in the component admin.', 'pods' ); ?></small>
			</p>
			<div class="pods-field-enable-disable-language">
				<?php
				foreach ( $this->languages as $locale => $lang_data ) {

					if ( ! isset( $pod['options']['enable_i18n'][ $locale ] ) ) {
						// Enabled by default
						$pod['options']['enable_i18n'][ $locale ] = 1;
					}
					?>
					<div class="pods-field-option pods-enable-disable-language" data-locale="<?php echo esc_attr( $locale ); ?>">
						<?php
						echo PodsForm::field(
							'enable_i18n[' . $locale . ']',
							$pod['options']['enable_i18n'][ $locale ],
							'boolean',
							array(
								'boolean_yes_label' => '<code>' . $locale . '</code> ' . $this->create_lang_label( $lang_data ),
								'boolean_no_label'  => '',
							)
						);
						?>
					</div>
					<?php
				}
				?>
			</div>
			<hr>
			<p>
				<button id="toggle_i18n" class="button-secondary"><?php esc_html_e( 'Toggle translation visibility', 'pods' ); ?></button>
			</p>
			<?php
		}//end if
	}
public function meta_box() {

		$pod = $this->cur_pod;

		if ( ! empty( $this->languages ) ) {
			?>
			<p><?php esc_html_e( 'Enable/Disable languages for this Pod', 'pods' ); ?></p>
			<p>
				<small class="description"><?php esc_html_e( 'This overwrites the defaults set in the component admin.', 'pods' ); ?></small>
			</p>
			<div class="pods-field-enable-disable-language">
				<?php
				foreach ( $this->languages as $locale => $lang_data ) {

					if ( ! isset( $pod['options']['enable_i18n'][ $locale ] ) ) {
						// Enabled by default
						$pod['options']['enable_i18n'][ $locale ] = 1;
					}
					?>
					<div class="pods-field-option pods-enable-disable-language" data-locale="<?php echo esc_attr( $locale ); ?>">
						<?php
						echo PodsForm::field(
							'enable_i18n[' . $locale . ']',
							$pod['options']['enable_i18n'][ $locale ],
							'boolean',
							array(
								'boolean_yes_label' => '<code>' . $locale . '</code> ' . $this->create_lang_label( $lang_data ),
								'boolean_no_label'  => '',
							)
						);
						?>
					</div>
					<?php
				}
				?>
			</div>
			<hr>
			<p>
				<button id="toggle_i18n" class="button-secondary"><?php esc_html_e( 'Toggle translation visibility', 'pods' ); ?></button>
			</p>
			<?php
		}//end if
	}
public function meta_box ( ) { $ pod = $ this -> cur_pod ; if ( ! empty ( $ this -> languages ) ) { ?>
			<p><?php esc_html_e ( 'Enable/Disable languages for this Pod' , 'pods' ) ; ?></p>
			<p>
				<small class="description"><?php esc_html_e ( 'This overwrites the defaults set in the component admin.' , 'pods' ) ; ?></small>
			</p>
			<div class="pods-field-enable-disable-language">
				<?php foreach ( $ this -> languages as $ locale => $ lang_data ) { if ( ! isset ( $ pod [ 'options' ] [ 'enable_i18n' ] [ $ locale ] ) ) { // Enabled by default $ pod [ 'options' ] [ 'enable_i18n' ] [ $ locale ] = 1 ; } ?>
					<div class="pods-field-option pods-enable-disable-language" data-locale="<?php echo esc_attr ( $ locale ) ; ?>">
						<?php echo PodsForm :: field ( 'enable_i18n[' . $ locale . ']' , $ pod [ 'options' ] [ 'enable_i18n' ] [ $ locale ] , 'boolean' , array ( 'boolean_yes_label' => '<code>' . $ locale . '</code> ' . $ this -> create_lang_label ( $ lang_data ) , 'boolean_no_label' => '' , ) ) ; ?>
					</div>
					<?php } ?>
			</div>
			<hr>
			<p>
				<button id="toggle_i18n" class="button-secondary"><?php esc_html_e ( 'Toggle translation visibility' , 'pods' ) ; ?></button>
			</p>
			<?php } //end if }
The i18n metabox.

@todo   Store enabled languages serialized instead of separate inputs

@since 0.1.0
The i18n metabox .