#!/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/tesseracsr/dolibarr/dev/translation/../../htdocs/langs/en_US/ - 95 found ***** Entries duplicated in same file NewAssetType : assets.lang (24 - New asset type) (64 - New asset type) NotTheAssignedApprover : holiday.lang (75 - You are not the assigned approver) (99 - You are not the assigned approver) Reception : receptions.lang (4 - Reception) (7 - Product reception) Receptions : receptions.lang (5 - Receptions) (8 - Reception) ***** Entries in main and another (keep only entry in main) ByYear : accountancy.lang (192 - By year) main.lang (776 - By year) Events : agenda.lang (12 - Events) main.lang (880 - Events) IncotermLabel : incoterm.lang (3 - Incoterms) main.lang (894 - Incoterms) StatusInterInvoiced : interventions.lang (30 - Billed) main.lang (495 - Invoiced) Closed : main.lang (142 - Closed) ticket.lang (67 - Closed) NewObject : main.lang (211 - New %s) modulebuilder.lang (9 - New object) Type : main.lang (215 - Type) ticket.lang (71 - Type) MulticurrencyPaymentAmount : main.lang (358 - Payment amount, original currency) multicurrency.lang (19 - Payment amount, original currency) Category : main.lang (472 - Tag/category) ticket.lang (72 - Analytic code) OpenAll : main.lang (498 - Open (All)) stocks.lang (150 - Open for all actions) NotRead : main.lang (649 - Not read) ticket.lang (60 - Not read) ***** Entries in admin and another InternalUser : admin.lang (48 - Internal user) users.lang (68 - Internal user) NewModule : admin.lang (207 - New) modulebuilder.lang (8 - New module) NoticePeriod : admin.lang (265 - Notice period) holiday.lang (111 - Notice period) LanguageFile : admin.lang (362 - Language file) modulebuilder.lang (50 - File for language) PriceFormatInCurrentLanguage : admin.lang (403 - Price Format In Current Language) companies.lang (31 - Price display format in the current language and currency) String : admin.lang (404 - String) members.lang (101 - String) Int : admin.lang (407 - Integer) members.lang (103 - Int) DateAndTime : admin.lang (409 - Date and hour) members.lang (104 - Date and time) Field : admin.lang (479 - Field) blockedlog.lang (2 - Field) exports.lang (60 - Field) Module62000Name : admin.lang (649 - Incoterms) incoterm.lang (1 - Incoterm) Module62000Desc : admin.lang (650 - Add features to manage Incoterms) incoterm.lang (2 - Add features to manage Incoterm) Upgrade : admin.lang (1015 - Upgrade) install.lang (104 - Upgrade) Server : admin.lang (1026 - Server) install.lang (49 - Server) DatabaseServer : admin.lang (1028 - Database host) install.lang (52 - Database server) DatabaseName : admin.lang (1029 - Database name) install.lang (53 - Database name) DriverType : admin.lang (1037 - Driver type) install.lang (48 - Driver type) CompanyName : admin.lang (1058 - Name) companies.lang (26 - Company name) WithdrawalsSetup : admin.lang (1538 - Setup of module Direct Debit payments) withdrawals.lang (22 - Direct debit payment setup) Buy : admin.lang (1619 - Buy) products.lang (50 - Purchase) Sell : admin.lang (1620 - Sell) products.lang (49 - Sell) AccountancyCode : admin.lang (1623 - Accounting Code) companies.lang (304 - Accounting account) CashDesk : admin.lang (1646 - Point of Sale) cashdesk.lang (3 - Point of sale) ByDefaultInList : admin.lang (1793 - Show by default on list view) categories.lang (89 - By default in list) ***** Other LineId : accountancy.lang (124 - Id line) exports.lang (41 - Id of line) CustomerInvoicePayment : accountancy.lang (208 - Payment of invoice customer) banks.lang (100 - Customer payment) AffectedTo : agenda.lang (10 - Assigned to) projects.lang (111 - Allocated to) Location : agenda.lang (16 - Location) stocks.lang (34 - Location) InterventionSentByEMail : agenda.lang (82 - Intervention %s sent by email) interventions.lang (38 - Intervention %s sent by email) DeleteType : assets.lang (29 - Delete) members.lang (76 - Delete) ShowTypeCard : assets.lang (32 - Show type '%s') members.lang (144 - Show type '%s') IBAN : banks.lang (32 - IBAN number) bills.lang (431 - IBAN) BIC : banks.lang (33 - BIC/SWIFT code) bills.lang (432 - BIC/SWIFT) StandingOrders : banks.lang (38 - Direct Debit orders) bills.lang (234 - Direct debit orders) StandingOrder : banks.lang (39 - Direct debit order) bills.lang (235 - Direct debit order) Account : banks.lang (64 - Account) compta.lang (15 - Account) SubscriptionPayment : banks.lang (102 - Subscription payment) members.lang (158 - Subscription payment) NoSupplierOrder : boxes.lang (67 - No recorded purchase order) orders.lang (78 - No purchase order) ShowCompany : cashdesk.lang (29 - Show company) companies.lang (320 - Show Third Party) History : cashdesk.lang (66 - History) suppliers.lang (6 - History) DeleteFromCat : categories.lang (82 - Remove from tags/category) compta.lang (247 - Remove from accounting group) Customer : commercial.lang (4 - Customer) companies.lang (266 - Customer) Prospect : commercial.lang (6 - Prospect) companies.lang (264 - Prospect) propal.lang (12 - Prospect) ShowTask : commercial.lang (18 - Show task) projects.lang (39 - Show task) ToPay : compta.lang (66 - To pay) paybox.lang (14 - Do payment) ContractStatusClosed : contracts.lang (9 - Closed) products.lang (78 - Closed) ExportsArea : exports.lang (2 - Exports) other.lang (255 - Exports area) ExportableDatas : exports.lang (6 - Exportable dataset) other.lang (259 - Exportable data) AvailableFormats : exports.lang (27 - Available Formats) other.lang (256 - Available formats) CreateUser : install.lang (60 - Create user account or grant user account permission on the Dolibarr database) users.lang (30 - Create user) OrderDate : orders.lang (10 - Order date) suppliers.lang (9 - Order date) CreatedBy : other.lang (109 - Created by %s) ticket.lang (150 - Created by) FollowingUrlAreAvailableToMakePayments : paybox.lang (4 - Following URLs are available to offer a page to a customer to make a payment on Dolibarr objects) stripe.lang (5 - Following URLs are available to offer a page to a customer to make a payment on Dolibarr objects) PaymentForm : paybox.lang (5 - Payment form) stripe.lang (6 - Payment form) WelcomeOnPaymentPage : paybox.lang (6 - Welcome to our online payment service) stripe.lang (7 - Welcome to our online payment service) ThisScreenAllowsYouToPay : paybox.lang (7 - This screen allow you to make an online payment to %s.) stripe.lang (8 - This screen allow you to make an online payment to %s.) ThisIsInformationOnPayment : paybox.lang (8 - This is information on payment to do) stripe.lang (9 - This is information on payment to do) ToComplete : paybox.lang (9 - To complete) stripe.lang (10 - To complete) YourEMail : paybox.lang (10 - Email to receive payment confirmation) stripe.lang (11 - Email to receive payment confirmation) Creditor : paybox.lang (11 - Creditor) stripe.lang (13 - Creditor) PaymentCode : paybox.lang (12 - Payment code) stripe.lang (14 - Payment code) Continue : paybox.lang (16 - Next) stripe.lang (17 - Next) ToOfferALinkForOnlinePayment : paybox.lang (17 - URL for %s payment) stripe.lang (18 - URL for %s payment) ToOfferALinkForOnlinePaymentOnOrder : paybox.lang (18 - URL to offer a %s online payment user interface for a sales order) stripe.lang (19 - URL to offer a %s online payment user interface for a sales order) ToOfferALinkForOnlinePaymentOnInvoice : paybox.lang (19 - URL to offer a %s online payment user interface for a customer invoice) stripe.lang (20 - URL to offer a %s online payment user interface for a customer invoice) ToOfferALinkForOnlinePaymentOnContractLine : paybox.lang (20 - URL to offer a %s online payment user interface for a contract line) stripe.lang (21 - URL to offer a %s online payment user interface for a contract line) ToOfferALinkForOnlinePaymentOnFreeAmount : paybox.lang (21 - URL to offer a %s online payment user interface for a free amount) stripe.lang (22 - URL to offer a %s online payment user interface for a free amount) ToOfferALinkForOnlinePaymentOnMemberSubscription : paybox.lang (22 - URL to offer a %s online payment user interface for a member subscription) stripe.lang (23 - URL to offer a %s online payment user interface for a member subscription) YouCanAddTagOnUrl : paybox.lang (24 - You can also add url parameter <b>&tag) stripe.lang (24 - You can also add url parameter <b>&tag) AccountParameter : paybox.lang (28 - Account parameters) stripe.lang (26 - Account parameters) UsageParameter : paybox.lang (29 - Usage parameters) stripe.lang (27 - Usage parameters) InformationToFindParameters : paybox.lang (30 - Help to find your %s account information) stripe.lang (28 - Help to find your %s account information) VendorName : paybox.lang (32 - Name of vendor) stripe.lang (30 - Name of vendor) CSSUrlForPaymentForm : paybox.lang (33 - CSS style sheet url for payment form) stripe.lang (31 - CSS style sheet url for payment form) Stock : products.lang (45 - Stock) stocks.lang (18 - Stock) Stocks : products.lang (47 - Stocks and location (warehouse) of products) stocks.lang (19 - Stocks) Movements : products.lang (48 - Movements) stocks.lang (23 - Movements) Suppliers : products.lang (83 - Vendors) suppliers.lang (2 - Vendors) ListOfStockMovements : products.lang (90 - List of stock movements) stocks.lang (26 - List of stock movements) Unit : products.lang (165 - Unit) stocks.lang (41 - Unit) NewUser : ticket.lang (272 - New user) users.lang (29 - New user)