Skip to Content Skip to Menu

[Solved] imgToolbox.class.php is not translated

  • rainweb
  • rainweb
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 9 months ago - 12 years 9 months ago #188335 by rainweb
Replied by rainweb on topic Re: imgToolbox.class.php is not translated
ok,
i changed the default joomla language to english, then i downloaded english plugin at
forge.joomlapolis.com/projects/lan-cb-en/files

I edit components/com_comprofiler/plugin/language/en-gb/admin_language.php
Code:
'The file exceeds the maximum size of %s kilobytes' => 'The file exceeds the maximum size of %s kilobytes - my TEST',
but when i exceede file size i still have default message
The file exceeds the maximum size of xxxx kilobytes
instead of
The file exceeds the maximum size of xxxx kilobytes - my TEST

What's wrong?

I also removed all external language plugins and i edited
components/com_comprofiler/plugin/language/default_language/admin_reference_language.php
in the same way but the string doesn't change at all.
Last edit: 12 years 9 months ago by rainweb.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 9 months ago #188349 by nant
I don't know what's wrong with your environment.

I just tested on a J173/CB171 website and installed the english plugin and it is used just fine for that string.

Please Log in or Create an account to join the conversation.

  • rainweb
  • rainweb
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 9 months ago #188422 by rainweb
Replied by rainweb on topic Re: imgToolbox.class.php is not translated
I solved by moving appropriate strings from admin_language.php (wrong file) to your language.php (right file)
Code:
// 1.7 Stable: (new method: UTF8 encoding here): CBTxt::addStrings( array( // .../administrator/components/com_comprofiler/imgToolbox.class.php (31 in CBTxt format) // ..................... ));
Simple solution if you know it

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum