Using AMOS tool for language pack translation

editor_tinymce empty strings

 
Picture of Andrea Bicciolo
editor_tinymce empty strings
by Andrea Bicciolo - Monday, 30 August 2010, 10:48 PM
Language pack maintainers

The component editor_tinymce shows some empty strings, such as "advanced:anchor_delta_width" and "advanced:anchor_delta_height", etc.

 

Are thos strings to be removed or not ?

Picture of Helen Foster
Re: editor_tinymce empty strings
by Helen Foster - Monday, 30 August 2010, 11:25 PM
 

Hi Andrea,

Ralf has reported this issue as MDL-23768. I think the strings will most likely be deleted when David has chance to look at the issue.

Picture of Andrea Bicciolo
Re: editor_tinymce empty strings
by Andrea Bicciolo - Tuesday, 31 August 2010, 12:29 AM
Language pack maintainers

Thanks!

Picture of David Mudrák
Re: editor_tinymce empty strings
by David Mudrák - Tuesday, 31 August 2010, 4:29 AM
Language pack maintainers

I just explained in the tracker.

Picture of David Mudrák
Re: editor_tinymce empty strings
by David Mudrák - Tuesday, 31 August 2010, 4:33 AM
Language pack maintainers

... and by the way - sorry I still have not finished a tool that fetches the upstream localization of TinyMCE. As you may know, TinyMCE is already translated, we have just several own strings added. So you may decide to just wait for me to integrate their strings into AMOS.

Picture of Ralf Hilgenstock
Re: editor_tinymce empty strings
by Ralf Hilgenstock - Tuesday, 31 August 2010, 2:09 PM
Language pack maintainers

Hello David

thanks for the information.  I tried to add an '0' to the fields. they are saved but appear in the list of strings to translate because the english string is empty.

 

 

ralf

Picture of David Mudrák
Re: editor_tinymce empty strings
by David Mudrák - Tuesday, 31 August 2010, 10:35 PM
Language pack maintainers

Good spot Ralf!

I just fixed the code so that that the strings translated to '0' (which PHP evaluates to empty value) are considered not-missing. Also, I modified the logic so that if the English original is empty, the empty translation is not reported as missing string.

Picture of Ralf Hilgenstock
Re: editor_tinymce empty strings
by Ralf Hilgenstock - Friday, 3 September 2010, 2:22 AM
Language pack maintainers

At http://download.moodle.org/langpack/2.0/ they are counted as missing