Giter Site home page Giter Site logo

find-unused-joomla-language-constants's Introduction

Find unused Joomla language constants

This is a simple one file solution that will scan your joomla project for unused language constants. It can help you reduce clutter and make translating into new languages faster/easier/cheaper.

This works for both Joomla core and any 3rd party component, plugin or module.

Simply download the main file and put it in the root of your Joomla site and access it in your browser.

Feedback is very welcome.

find-unused-joomla-language-constants's People

Contributors

adaneinspain avatar jsanchezgr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

find-unused-joomla-language-constants's Issues

excluding deprecated strings

We are looking at marking deprecated / unused strings in the core by preceding them with a comment.

Is it possible to make the script ignore (or flag) deprecated strings.

Basically it should ignore any string that has a comment directly above it

** example **
TPL_BEEZ3_TEXTRIGHTOPEN="Open info"
TPL_BEEZ3_XML_DESCRIPTION="Accessible template for Joomla! Beez, the HTML 4 version."
; This string is not used and kept for B/C. Do not translate this string.
TPL_BEEZ3_YOUR_SITE_DESCRIPTION="Your site description"

So TPL_BEEZ3_YOUR_SITE_DESCRIPTION would NOT be listed in the script output

When a % is used

This is reported as unused but it is
COM_BANNERS_N_BANNERS_UNSTUCK_1: %d banner successfully unstickied.

Not only en-GB language files

Hey Søren,

would be great to have a select box of all installed languages to make it easier to select other languages than just English.

Greetings
Viktor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.