Page 3 of 3

Re: Translation Help Wanted!!

Posted: Wed Jun 20, 2012 6:41 am
by jason.l
How to check in the translation directly by SVN?

Re: Translation Help Wanted!!

Posted: Sun Dec 30, 2012 1:46 pm
by tomkolp
Please help to translate the option v1.25.0

Code: Select all

// So for example, to override the help text for ZM_LANG_DEFAULT do
$OLANG = array(
    'LANG_DEFAULT' => array(
        'Prompt' => "This is a new prompt for this option",
        'Help' => "This is some new help for this option which will be displayed in the popup window when the ? is clicked"
    ),
);

?>
It does not work, instead of the text is empty. In the new version (v1.25.0) in any language are translated Options.

Solved: fix.tar attachment

Re: Translation Help Wanted!!

Posted: Fri Jul 12, 2013 5:17 am
by ykihipp
I posted a new thread "Finnish translation" with files at: http://www.zoneminder.com/forums/viewto ... 15&t=21167

Re: Translation Help Wanted!!

Posted: Thu Aug 15, 2013 9:53 am
by robi
Hi guys,

I'm trying to translate the little help box in the timeline window which contains this:
Pass your mouse over the graph to view a snapshot image and event details.

Click on the coloured sections of the graph, or the image, to view the event.

Click on the background to zoom in to a smaller time period based around your click.

Use the controls below to zoom out or navigate back and forward through the time range.
But I can't find the corresponding entry in the language files. Can you point me in the right direction?

Re: Translation Help Wanted!!

Posted: Thu Aug 15, 2013 1:52 pm
by robi
Also can't find the language translation entry for this:
Warning, deleting a monitor also deletes all events and database entries associated with it.
Are you sure you wish to delete?

Re: Translation Help Wanted!!

Posted: Thu Aug 15, 2013 5:00 pm
by robi
robi wrote:Hi guys,

I'm trying to translate the little help box in the timeline window which contains this:
Pass your mouse over the graph to view a snapshot image and event details.

Click on the coloured sections of the graph, or the image, to view the event.

Click on the background to zoom in to a smaller time period based around your click.

Use the controls below to zoom out or navigate back and forward through the time range.
But I can't find the corresponding entry in the language files. Can you point me in the right direction?

OK, meanwhile I found where to modify the main PHP code to enable localization of these.

This, plus montage window dropbox items localization enabling patch submitted in the develop branch.
Localized strings for en_GB and hu_HU submitted in the develop branch.

Please test!

Re: Translation Help Wanted!!

Posted: Fri Aug 16, 2013 12:50 pm
by robi
robi wrote:Also can't find the language translation entry for this:
Warning, deleting a monitor also deletes all events and database entries associated with it.
Are you sure you wish to delete?

I'm trying to edit the console.js script, but I can't make it to take a variable from the language file.
For some reason it keps thorwing back the entire function name.

Tried with double, single quotes etc. doesn't work:


function deleteMonitor( element )
{
if ( confirm( "'<?= $SLANG['OptionRestartWarning'] ?>'" ) )
{
var form = element.form;
form.elements['action'].value = 'delete';
form.submit();
}
}