Author Topic: Unused Keys  (Read 2480 times)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3534
  • using Matomo instead of Google Analytics
Unused Keys
« on: August 09, 2011, 21:00:54 pm »
Is it safe to assume that keys which only exist in the language.ini, meaning they don't exist anywhere in the php files, are unsused keys/strings?
Example: COM_VIRTUEMART_PLEASE_SEL_ITEM is listed in the BE language file, but doesn't seem to exist in any other file.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9972
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Unused Keys
« Reply #1 on: August 11, 2011, 19:44:31 pm »
dont delete this keys.

We use a keystem for generic messages, like category saved, product saved and things like this.... So you cant find the strings in the php files, because they are concatenated.

For more detailed explanation, look here: http://dev.virtuemart.net/projects/virtuemart/wiki/Writing_translation "What you have to know and to consider"

Of course when you considered that, then we are happy, when you delete unused keys
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/