array( 'is-success', __( 'SwiftLing started over: its translations, languages and settings are removed. Your pages are as they were.', 'swiftling' ) ), 'started_over_keep' => array( 'is-success', __( 'SwiftLing started over. The translations are kept: add a language again and its translations come back.', 'swiftling' ) ), 'custom_invalid' => array( 'is-info', __( 'A custom language needs a name and a language code such as cnr or es_MX, of at most 12 characters.', 'swiftling' ) ), 'choose' => array( 'is-info', __( 'Choose the language of your content.', 'swiftling' ) ), ); /** * Fires above the question, so another plugin can offer the way to set SwiftLing up that fits the * site better, as SwiftLing Pro's import from a multilingual plugin used before. What it prints * comes first; the question follows as the other way. See docs/hooks.md. */ ob_start(); do_action( 'swiftling_setup_offer' ); $swiftling_offer = trim( (string) ob_get_clean() ); $swiftling_second = '' !== $swiftling_offer; ?>
SwiftLing