Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if language is available and take "en" otherwise #25

Merged
merged 2 commits into from
Jul 12, 2012
Merged

Check if language is available and take "en" otherwise #25

merged 2 commits into from
Jul 12, 2012

Conversation

t-oster
Copy link

@t-oster t-oster commented Jul 12, 2012

Hi,

I tried your version and was glad, that I didn't begin to translate it myself, what I was starting to do. But there was one little problem: My browser was set to "us" but your code doesn't contain "us" (eventhough you set it to default??).
However: This patch checks if the file exists before loading a language and loads "en" otherwise

@t-oster
Copy link
Author

t-oster commented Jul 12, 2012

I also added the possibility to link to prefilled ticket-creation forms... so you can embed links in you page like http:https://ticketsystem/open.php?subject=Error&topic=MySampleDatabase

@jasperf
Copy link
Member

jasperf commented Jul 12, 2012

Thanks a lot for this. I will merge this request. If Carlos bumps into any issues we can always reverse.

jasperf added a commit that referenced this pull request Jul 12, 2012
Check if language is available and take "en" otherwise
@jasperf jasperf merged commit d8ad3af into OsTicket-Reloaded:master Jul 12, 2012
@jasperf
Copy link
Member

jasperf commented Jul 12, 2012

@t-oster Thanks for the help!

@t-oster
Copy link
Author

t-oster commented Jul 12, 2012

you're very welcome.

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

Successfully merging this pull request may close these issues.

None yet

2 participants