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

Language in admin area is still in English #7

Open
Private6 opened this issue Aug 8, 2011 · 20 comments
Open

Language in admin area is still in English #7

Private6 opened this issue Aug 8, 2011 · 20 comments

Comments

@Private6
Copy link

Private6 commented Aug 8, 2011

Hi everyone,

I installed the OsTicket version and picked the dutch version to translate it in.
This works for the main page, but if I go to the admin panel only the categories are translated.

So things like settings, staff, ... are translated. But if you click on those categories all the settings and editing options in the list you get below are still in english. Some even have tags missing

ABEL_SYSTEM_PREFERENCES_AND_SETTINGS (v1.6 ST)
LABEL_GENERAL_SETTINGS
TEXT_OFFLINE_MODE_WILL_DISABLE_CLIENT
LABEL_HELPDESK_STATUS Online LABEL_ACTIVE_IN_PARENTESIS Offline LABEL_DISABLED_IN_PARENTESIS
LABEL_HELPDESK_URL *
LABEL_HELPDESK_NAME_TITLE
LABEL_HELPDESK_DEFAULT_EMAIL_TEMPLATES *
LABEL_HELPDESK_DEFAULT_DEPARTMENT *
LABEL_HELPDESK_DEFAULT_PAGE_SIZE
LABEL_HELPDESK_SYSTEM_LOG_LEVEL LABEL_HELPDESK_PURGE_LOGS_AFTER
LABEL_HELPDESK_STAFF_EXCESSIVE_LOGINS LABEL_HELPDESK_ATTEMPT_ALLOWED_BEFORE_A LABEL_HELPDESK_PENALTY_IN_MINUTES
LABEL_HELPDESK_STAFF_SESSION_TIMEOUT TEXT_HELPDESK_STAFF_MAX_IDLE_TIME_IN_MINUTES
LABEL_HELPDESK_BIND_STAFF_SESSION_TO_IP Bind staff's session to login IP.
LABEL_HELPDESK_CLIENT_EXCESSIVE_LOGINS LABEL_HELPDESK_ATTEMPT_ALLOWED_BEFORE_A LABEL_HELPDESK_PENALTY_IN_MINUTES
LABEL_HELPDESK_CLIENT_SESSION_TIMEOUT TEXT_HELPDESK_CLIENT_MAX_IDLE_TIME_IN_MINUTES
LABEL_HELPDESK_CLICKABLE_URLS LABEL_HELPDESK_MAKE_URLS_CLICKABLE
LABEL_HELPDESK_ENABLE_AUTO_CRON TEXT_HELPDESK_ENABLE_CRON_CALL_ON_STAFF_ACTIVITY

Can someone please help me?

@jasperf
Copy link
Member

jasperf commented Aug 8, 2011

Currently I am rather busy working on several commercial projects. So not a lot of time to fix this. But you can participate and add the missing definitions. If you are a developer we could give you Git access so you can update the dutch /translate/nl/translate.php . We would really appreciate having a new developer on board. Do you have sufficient PHP en MySQL knowledge? Basic knowledge and enthusiasm will do just fine! If so do let us know. If not, then we shall try to fix this issue as soon as possible

@Private6
Copy link
Author

Private6 commented Aug 8, 2011

I don't have a problem in translating english text into dutch text. But i'm afraid I don't have enough knowledge to actually know where to put all those changes. But if you can tell me where to find all these English words and how I can change these to dutch I don't have a problem to edit these.

@Private6 Private6 closed this as completed Aug 8, 2011
@Private6 Private6 reopened this Aug 8, 2011
@jasperf
Copy link
Member

jasperf commented Aug 8, 2011

Well, great! Download the latest translate/nl/translate.php, open it in your favorite text editor (TextMate, Dreamweaver, Gedit or Notepad++) and add the missing definitions . Make sure you follow the alphabetical order and general order. Once you have gone through you should be able to work it out. We use the US translate.php as base in case we are not certain and need a template. You can email the adjusted file t0 jasper {at} gmail dot com

Thanks for contributing private6!

@Private6
Copy link
Author

Private6 commented Aug 8, 2011

Weird, the language file does have the correct translation

$LANG['LABEL_HELPDESK_STATUS'] = 'Helpdesk status';

But why do I see LABEL_HELPDESK_STATUS as a title...

I think there is something wrong with the settings of the translation file, it's linked wrong or something...

@jasperf
Copy link
Member

jasperf commented Aug 8, 2011

I see. I will ask the main developer Carlos. Perhaps there is a general loading issue

@Private6
Copy link
Author

Private6 commented Aug 8, 2011

Thanks mate,

It now looks like this, 3 different things put together. Dutch, missing translations and english

http://i55.tinypic.com/qx9miv.png

@arendjantetteroo
Copy link

Seems either a configuration or a loading issue, i've got the normal dutch translations on my screen. Maybe something changed in one of the last revisions, i'll try the latest revision and see if that works here.

@Private6
Copy link
Author

Private6 commented Aug 8, 2011

Okay thank you!

I only picked out the "nl" tag from the selection box at the installation. So I don't think I could have messed it up there :p

@Private6 Private6 closed this as completed Aug 8, 2011
@Private6 Private6 reopened this Aug 8, 2011
@arendjantetteroo
Copy link

Seems to work here for an already installed base, didn't try a new installation.

What does your ost-config.php look like?
Does it contain :
#Translator Configure
define('OSTLANG','nl');

@Private6
Copy link
Author

Private6 commented Aug 8, 2011

It does say that indeed!

#Translator Configure
define('OSTLANG','nl');

@arendjantetteroo
Copy link

I tried it with the latest revision and fresh installation. Works fine (except for the missing layout while installing).
Which version did you use?

@Private6
Copy link
Author

Private6 commented Aug 8, 2011

The last one, just downloaded it yesterday.

I pressed downloads after that I could see "Downloads for OsTicket-Reloaded/OsTicket". And I downloaded the zip file. Extracted that and uploaded it to my server. After that I installed it with "nl".

So I don't know what is wrong

@Private6
Copy link
Author

anyone...

@Private6
Copy link
Author

still nothing...

@jasperf
Copy link
Member

jasperf commented Aug 16, 2011

Waiting for some feedback from Carlos. Will email him.

@Private6
Copy link
Author

I redownloaded the pack and now it works.
Weird but I think something has changed now.

Not everything is in dutch, but still it's allot better now becuase it's not missing titles.

@jasperf
Copy link
Member

jasperf commented Aug 16, 2011

Cool. Glad to hear that. Please keep us posted of the words still missing

@Private6
Copy link
Author

In the settings area the settings above "Algemene instellingen" are translated.
But one box lower, the "Date & Time", "Ticket Options & Settings", ... are still in english in my case.

@jasperf
Copy link
Member

jasperf commented Oct 22, 2011

Well perhaps you can add the word after pulling the nl file and do a push request. Either that or add the missing definitions to the latest NL translate and email it to us. I do prefer the former. Git has nice tutorials to teach you how to work with it.

@jasperf
Copy link
Member

jasperf commented Oct 22, 2011

I just did a new installation and I do see that the System Preferences area is not completely translated. Date and Time, Ticket Options & Settings, Email Settings, Autoresponders (Global Setting), Alerts & Notices sections are still in English. I think there are no language tags for that yet. Will discuss this with Carlos as soon as possible

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

No branches or pull requests

3 participants