#!/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/avoges/www/dolibarrold/dev/translation/../../htdocs/langs/en_US/ - 121 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 (775 - By year) Events : agenda.lang (12 - Events) main.lang (879 - Events) IncotermLabel : incoterm.lang (3 - Incoterms) main.lang (893 - Incoterms) StatusInterInvoiced : interventions.lang (30 - Billed) main.lang (494 - Invoiced) Closed : main.lang (142 - Closed) ticket.lang (66 - Closed) NewObject : main.lang (211 - New %s) modulebuilder.lang (9 - New object) Type : main.lang (215 - Type) ticket.lang (70 - Type) MulticurrencyPaymentAmount : main.lang (358 - Payment amount, original currency) multicurrency.lang (19 - Payment amount, original currency) Category : main.lang (472 - Tag/category) ticket.lang (71 - Analytic code) OpenAll : main.lang (497 - Open (All)) stocks.lang (150 - Open for all actions) NotRead : main.lang (648 - Not read) ticket.lang (59 - 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 (1014 - Upgrade) install.lang (104 - Upgrade) Server : admin.lang (1025 - Server) install.lang (49 - Server) DatabaseServer : admin.lang (1027 - Database host) install.lang (52 - Database server) DatabaseName : admin.lang (1028 - Database name) install.lang (53 - Database name) DriverType : admin.lang (1036 - Driver type) install.lang (48 - Driver type) CompanyName : admin.lang (1057 - Name) companies.lang (26 - Company name) WithdrawalsSetup : admin.lang (1536 - Setup of module Direct Debit payments) withdrawals.lang (22 - Direct debit payment setup) Buy : admin.lang (1617 - Buy) products.lang (50 - Purchase) Sell : admin.lang (1618 - Sell) products.lang (49 - Sell) AccountancyCode : admin.lang (1621 - Accounting Code) companies.lang (304 - Accounting account) CashDesk : admin.lang (1644 - Point of Sale) cashdesk.lang (3 - Point of sale) ByDefaultInList : admin.lang (1791 - 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) 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 (35 - Create price request by copying existing a request) CreateEmptyAsk : askpricesupplier.lang (45 - Create blank request) supplier_proposal.lang (36 - Create blank 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 <b>%s</b>?) 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) 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 (430 - IBAN) BIC : banks.lang (33 - BIC/SWIFT code) bills.lang (431 - 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) LastOrders : orders.lang (79 - Latest %s sales orders) shop.lang (4 - Last orders) OSCommerce : oscommerce.lang (2 - OS Commerce) shop.lang (9 - OSCommerce) CreatedBy : other.lang (109 - Created by %s) ticket.lang (149 - 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) PrintIPPDesc : printing.lang (30 - This driver allows sending of documents directly to a printer. It requires a Linux system with CUPS installed.) printipp.lang (3 - This module adds a Print button to send documents directly to a printer. It requires a Linux system with CUPS installed.) PRINTIPP_HOST : printing.lang (31 - Print server) printipp.lang (5 - Print server) PRINTIPP_PORT : printing.lang (32 - Port) printipp.lang (6 - Port) PRINTIPP_USER : printing.lang (33 - Login) printipp.lang (7 - Login) PRINTIPP_PASSWORD : printing.lang (34 - Password) printipp.lang (8 - Password) 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 (271 - New user) users.lang (29 - New user)