Translations #3300

Max filesize should be MB instead of M

Added by Michael Hosdez over 11 years ago. Updated about 10 years ago.

Start date:
Due date:
% Done:


Estimated time:


When creating a Content Object, the maximum file size (for an attachment) is expressed in M instead of MB


FileSize.png (8.08 KB) FileSize.png Michael Hosdez, 22/04/2011 10:35



Updated by Maarten Meuris over 11 years ago

Actually, if you want to nitpick on something like this, the correct indication should be MiB anyway. See


Updated by Maarten Meuris over 11 years ago

Another note on this: in French, the word "octet" is used, so using MB globally and language independently would be plain wrong anyway. For French, it's "Mo", or, using the correct 1024-base, "Mio".


Updated by Stefaan Vanbillemont over 11 years ago

  • Project changed from Chamilo LCMS Connect to Repository

Updated by Stefaan Vanbillemont over 11 years ago

  • Target version set to 2.1.0

Updated by Stefaan Vanbillemont over 10 years ago

  • Target version changed from 2.1.0 to Backlog (default)

Updated by Stefaan Vanbillemont about 10 years ago

  • Tracker changed from Usability to Translations
  • Status changed from New to Needs testing
  • Assignee set to Michael Hosdez
  • Target version changed from Backlog (default) to LCMS 3

This should be fixed in the translations I guess


Updated by Michael Hosdez about 10 years ago

  • Status changed from Needs testing to New
  • Assignee deleted (Michael Hosdez)

It's not a translation issue, after a check in the code it's a value gotten from PHP, see the code below:

Filename: \repository\content_object\document\php\lib\form\content_object.class.php

$post_max_size = (Filesystem :: interpret_file_size(ini_get('post_max_size')) < Filesystem :: interpret_file_size(ini_get('upload_max_filesize')) ? ini_get('post_max_size') : ini_get('upload_max_filesize'));

I suggest to add a translation variable to "add" another character for each language, "B" for dutch, "o" for french, etc.

Also available in: Atom PDF