Exemple #1
0
    //echo $lang;
    if ($lang == 'localhost') {
        ?>
                <script type="text/javascript">
                    swal('<?php 
        __("Country Language");
        ?>
', "<?php 
        __('Cant Detect your Country Language in localhost');
        ?>
", 'error');
                </script>
                <?php 
    } else {
        ?>
                <script type="text/javascript">
                    swal("<?php 
        __('Country Language', $lang);
        ?>
", "<?php 
        echo _x('Detected Your Country Language is :', $lang) . languageNameIntongue(Detect::country());
        ?>
", "success");
                </script>
                <?php 
    }
}
?>
    </body>

</html>