#!/usr/bin/env php If you call this with argument "unused=true" it searches for the translation strings that exist in en_US but are never used. IMPORTANT: that can take quite a lot of time (up to 10 minutes), you need to tune the max_execution_time on your php.ini accordingly. Duplicate strings in lang files in /home/abridesptq/www/gestion/dev/translation/../../htdocs/langs/en_US/ - 82 found ***** Entries duplicated in same file None ***** Entries in main and another (keep only entry in main) None ***** Entries in admin and another InternalUser : admin.lang (34 - Internal user) users.lang (65 - Internal user) String : admin.lang (339 - String) members.lang (97 - String) Int : admin.lang (341 - Integer) members.lang (99 - Int) DateAndTime : admin.lang (343 - Date and hour) members.lang (100 - Date and time) Upgrade : admin.lang (863 - Upgrade) install.lang (98 - Upgrade) Server : admin.lang (875 - Server) install.lang (44 - Server) DatabaseServer : admin.lang (877 - Database host) install.lang (47 - Database server) DatabaseName : admin.lang (878 - Database name) install.lang (48 - Database name) DriverType : admin.lang (886 - Driver type) install.lang (43 - Driver type) CompanyName : admin.lang (905 - Name) companies.lang (24 - Company name) Miscellaneous : admin.lang (1087 - Miscellaneous) other.lang (58 - Miscellaneous) CreditNote : admin.lang (1094 - Credit note) bills.lang (265 - Credit note) CreditNotes : admin.lang (1095 - Credit notes) bills.lang (266 - Credit notes) WithdrawalsSetup : admin.lang (1340 - Withdrawal module setup) withdrawals.lang (21 - Withdrawal setup) Buy : admin.lang (1424 - Buy) products.lang (41 - Purchases) Sell : admin.lang (1425 - Sell) products.lang (40 - Sales) AccountancyCode : admin.lang (1428 - Accountancy Code) companies.lang (273 - Accountancy code) CashDesk : admin.lang (1445 - Point of sales) cashdesk.lang (3 - Point of sale) ByDefaultInList : admin.lang (1575 - Show by default on list view) categories.lang (81 - By default in list) ***** Other NewAccount : accountancy.lang (28 - New accounting account) banks.lang (48 - New account) compta.lang (92 - New account) Create : accountancy.lang (29 - Create) products.lang (13 - Create) DescSellsJournal : accountancy.lang (97 - Sales journal) compta.lang (164 - Sales Journal) DescPurchasesJournal : accountancy.lang (98 - Purchases journal) compta.lang (165 - Purchases Journal) CustomerInvoicePayment : accountancy.lang (102 - Payment of invoice customer) banks.lang (91 - Customer payment) Accountparent : accountancy.lang (118 - Root of the account) compta.lang (16 - Account parent) Exports : accountancy.lang (144 - Exports) members.lang (155 - Exports) Export : accountancy.lang (145 - Export) other.lang (223 - Export) Calendar : agenda.lang (6 - Calendar) other.lang (3 - Calendar) AffectedTo : agenda.lang (10 - Assigned to) projects.lang (91 - Allocated to) Location : agenda.lang (15 - Location) stocks.lang (23 - Location) PropalValidatedInDolibarr : agenda.lang (37 - Proposal %s validated) other.lang (209 - Proposal %s validated) InvoiceValidatedInDolibarr : agenda.lang (38 - Invoice %s validated) other.lang (211 - Invoice %s validated) InterventionSentByEMail : agenda.lang (56 - Intervention %s sent by EMail) interventions.lang (38 - Intervention %s sent by EMail) NewCompanyToDolibarr : agenda.lang (60 - Third party created) other.lang (205 - Company %s added) CommRequest : askpricesupplier.lang (7 - Price request) supplier_proposal.lang (5 - Price request) CommRequests : askpricesupplier.lang (8 - Price requests) supplier_proposal.lang (6 - Price requests) SearchRequest : askpricesupplier.lang (9 - Find a request) supplier_proposal.lang (7 - Find a request) DraftRequests : askpricesupplier.lang (10 - Draft requests) supplier_proposal.lang (8 - Draft requests) LastModifiedRequests : askpricesupplier.lang (11 - Last %s modified price requests) supplier_proposal.lang (10 - Latest %s modified price requests) RequestsOpened : askpricesupplier.lang (12 - Open price requests) supplier_proposal.lang (11 - Open price requests) NewAskPrice : askpricesupplier.lang (15 - New price request) supplier_proposal.lang (16 - New price request) ConfirmValidateAsk : askpricesupplier.lang (23 - Are you sure you want to validate this price request under name <b>%s</b> ?) supplier_proposal.lang (22 - Are you sure you want to validate this price request under name <b>%s</b> ?) DeleteAsk : askpricesupplier.lang (25 - Delete request) supplier_proposal.lang (23 - Delete request) ValidateAsk : askpricesupplier.lang (26 - Validate request) supplier_proposal.lang (24 - Validate request) CopyAskFrom : askpricesupplier.lang (44 - Create price request by copying existing a request) supplier_proposal.lang (34 - Create price request by copying existing a request) CreateEmptyAsk : askpricesupplier.lang (45 - Create blank request) supplier_proposal.lang (35 - Create blank request) CloneAsk : askpricesupplier.lang (46 - Clone price request) supplier_proposal.lang (36 - Clone price request) ConfirmCloneAsk : askpricesupplier.lang (47 - Are you sure you want to clone the price request <b>%s</b> ?) supplier_proposal.lang (37 - Are you sure you want to clone the price request <b>%s</b> ?) ConfirmReOpenAsk : askpricesupplier.lang (48 - Are you sure you want to open back the price request <b>%s</b> ?) supplier_proposal.lang (38 - Are you sure you want to open back the price request <b>%s</b> ?) SendAskByMail : askpricesupplier.lang (49 - Send price request by mail) supplier_proposal.lang (39 - Send price request by mail) SendAskRef : askpricesupplier.lang (50 - Sending the price request %s) supplier_proposal.lang (40 - Sending the price request %s) ConfirmDeleteAsk : askpricesupplier.lang (52 - Are you sure you want to delete this price request ?) supplier_proposal.lang (42 - Are you sure you want to delete this price request ?) DocModelAuroreDescription : askpricesupplier.lang (54 - A complete request model (logo...)) supplier_proposal.lang (44 - A complete request model (logo...)) CommercialAsk : askpricesupplier.lang (55 - Price request) supplier_proposal.lang (45 - Price request) IBAN : banks.lang (29 - IBAN number) bills.lang (376 - IBAN) BIC : banks.lang (32 - BIC/SWIFT number) bills.lang (377 - BIC/SWIFT) StandingOrders : banks.lang (35 - Standing orders) bills.lang (212 - Standing orders) withdrawals.lang (3 - Standing orders) StandingOrder : banks.lang (36 - Standing order) bills.lang (213 - Standing order) withdrawals.lang (4 - Standing orders) Account : banks.lang (61 - Account) compta.lang (15 - Account) SubscriptionPayment : banks.lang (93 - Subscription payment) members.lang (138 - Subscription payment) Payments : bills.lang (60 - Payments) compta.lang (60 - Payments) InvoiceRef : bills.lang (288 - Invoice ref.) compta.lang (166 - Invoice ref.) NoSupplierOrder : boxes.lang (66 - No recorded supplier order) orders.lang (75 - No supplier order) ShowCompany : cashdesk.lang (30 - Show company) companies.lang (289 - Show thirdparty) Customer : commercial.lang (4 - Customer) companies.lang (246 - Customer) Prospect : commercial.lang (6 - Prospect) companies.lang (244 - Prospect) propal.lang (12 - Prospect) ContractStatusClosed : contracts.lang (9 - Closed) products.lang (67 - Closed) ExportsArea : exports.lang (2 - Exports area) other.lang (224 - Exports area) NewExport : exports.lang (4 - New export) other.lang (230 - New export) ExportableDatas : exports.lang (6 - Exportable dataset) other.lang (228 - Exportable data) AvailableFormats : exports.lang (27 - Available formats) other.lang (225 - Available formats) LibraryUsed : exports.lang (29 - Library used) other.lang (226 - Librairy used) LibraryVersion : exports.lang (30 - Version) other.lang (227 - Version) CreateUser : install.lang (54 - Create owner) users.lang (29 - Create user) Nature : members.lang (153 - Nature) products.lang (151 - Nature) OrderDate : orders.lang (9 - Order date) suppliers.lang (9 - Order date) Stock : products.lang (37 - Stock) stocks.lang (15 - Stock) Stocks : products.lang (38 - Stocks) stocks.lang (16 - Stocks) Movements : products.lang (39 - Movements) stocks.lang (18 - Movements) Suppliers : products.lang (72 - Suppliers) suppliers.lang (2 - Suppliers) ListOfStockMovements : products.lang (79 - List of stock movements) stocks.lang (21 - List of stock movements) Unit : products.lang (153 - Unit) stocks.lang (30 - Unit)