Using AMOS tool for language pack translation

Hardcoded English strings in 3.0DEV

 
Picture of German Valero
Hardcoded English strings in 3.0DEV
by German Valero - Wednesday, 4 November 2015, 5:32 AM
Language pack maintainers

Hi (David),

I think I found some English language hard-coded strings in the upcoming Moodle 3.0 branch.

I was testing 3.0 DEV Moodle 3.0beta+ (Build: 20151031) in a new local Windows server

Added a 100% translated language pack (es_mx)

Added a new course

Added a tags block

Edited tag block settings

Choose 'Number of tags to display' dropdown menu

The three choices shown (default, official, both) are hard-coded English strings and not available for translation in AMOS.

Can you please check and, if true, add a new issue in the tracker. I know it is minor, but it is always good to improve Moodle a little bit more smile

Thanks in advance for your help.

Picture of David Mudrák
Re: Hardcoded English strings in 3.0DEV
by David Mudrák - Wednesday, 4 November 2015, 4:31 PM
Language pack maintainers
Hi German.

Seems like another good catch! I was able to find the hard-coded strings in the code. However, they seem to be like that since 2.4 - MDL-15471. Would be great if you could confirm you are seeing those strings in lower versions (than 3.0), too.

I will appreciate if you report this as a bug in the block_tags and let me know about it. I'll be happy to prepare a patch fixing this.

Thanks!
Picture of German Valero
Re: Hardcoded English strings in 3.0DEV
by German Valero - Thursday, 5 November 2015, 12:57 AM
Language pack maintainers

Hi David,

I created tracker issue MDL-52039 .

Please change as needed.

We'll be happier when you can fix this minor issue.

Thanks again.