Last active
March 26, 2020 13:53
-
-
Save jkuchar/b0a81511057896b5e0080dbfafe915c4 to your computer and use it in GitHub Desktop.
How (not) to do localization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo translate("You cannot continue,") | |
echo '<a href="http://somewhere">'; | |
echo translate('click here'); | |
echo '</a>'; | |
echo translate('to fix problem.'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msgid "You cannot continue," | |
msgstr "Nemůžete pokračovat," | |
msgid "click here" | |
msgstr "klikněte sem" | |
msgid "to fix problem." | |
msgstr "opravit problém." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment