Skip to content
This repository has been archived by the owner on May 8, 2019. It is now read-only.

Hardcoded translation #2

Open
lifehome opened this issue Jun 13, 2014 · 1 comment
Open

Hardcoded translation #2

lifehome opened this issue Jun 13, 2014 · 1 comment

Comments

@lifehome
Copy link

Is the "cz" language over hardcoded into the script?
AsI've seen a few lines of code addressed out it default as cz...

@lifehome lifehome changed the title Pull request postponed Hardcoded translation Jun 14, 2014
@totoCZ
Copy link
Owner

totoCZ commented Jun 17, 2014

All that should be necessary is to change the array here (en, cs, sk)
https://github.com/TomHetmer/Runtime/blob/master/index.i18n.php
then modify .htaccess to have ie. (cs|en|zh-cn|api) and add the option into foot.php
if you have added the messages file generated from gettext, it should be fine.
if that's not working something's wrong with your gettext configuration in php.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants