Reply To: Dutch translation

#852
RRowley
Participant

The lang/get-new-strings.sh script lists differences. Here is an example of the script run against the da_DK file. The thing to look for are lines the are preceded by a dash. for example:

*** 11,14 ****
$LANG[‘add_new_biller’]
– $LANG[‘add_new_expense’]
– $LANG[‘add_new_expense_account’]
$LANG[‘add_new_invoice’]
— 12,13 —-

This shows that the lines for add_new_expense and add_new_expense_account exist in the en_US lang file but not in the da_DK file.

To use the script, in a bash shell position yourself in the lang directory. Then execute the script as shown below:

$ ./get-new-strings.sh da_DK
*** /tmp/lang.en.tmp 2020-05-09 07:44:21.925277400 -0700
— /tmp/lang.da_DK.tmp 2020-05-09 07:44:21.996921600 -0700
***************
*** 1,2 ****
! global $databaseBuilt, $LANG;
$LANG[‘about’]
— 1,3 —-
! global $LANG;
! if ($LANG) {} // eliminates unused warning
$LANG[‘about’]
***************
*** 11,14 ****
$LANG[‘add_new_biller’]
– $LANG[‘add_new_expense’]
– $LANG[‘add_new_expense_account’]
$LANG[‘add_new_invoice’]
— 12,13 —-
***************
*** 19,21 ****
$LANG[‘add_new_tax_rate’]
– $LANG[‘add_new_user’]
$LANG[‘add_payment_type’]
— 18,19 —-
***************
*** 35,41 ****
$LANG[‘all_reports’]
– $LANG[‘always_enabled’]
$LANG[‘amount’]
$LANG[‘as_template’]
– $LANG[‘associated_table’]
– $LANG[‘attachments’]
$LANG[‘attention_short’]
— 33,36 —-
***************
*** 51,53 ****
$LANG[‘before_starting’]
– $LANG[‘billed’]
$LANG[‘biller’]
— 46,47 —-
***************
*** 62,79 ****
$LANG[‘billers’]
– $LANG[‘billing’]
$LANG[‘blog’]
$LANG[‘cancel’]
– $LANG[‘cancelled’]
$LANG[‘cannot_delete_first_row’]
$LANG[‘change_log’]
– $LANG[‘check_number’]
$LANG[‘city’]
– $LANG[‘clear_data’]
– $LANG[‘copied_from’]
– $LANG[‘company_logo’]
$LANG[‘company_name’]
– $LANG[‘company_name_item’]
– $LANG[‘company_name_item_label’]
$LANG[‘confirm_delete’]
– $LANG[‘confirm_password’]
$LANG[‘consulting’]
— 56,64 —-
***************
*** 91,94 ****
$LANG[‘credits’]
– $LANG[‘cron_delete_failure’]
– $LANG[‘cron_delete_success’]
$LANG[‘currency_code’]
— 76,77 —-
***************
*** 104,108 ****
$LANG[‘custom_fields_upper’]
– $LANG[‘custom_flags_upper’]
$LANG[‘custom_label’]
– $LANG[‘custom_upper’]
$LANG[‘customer’]
— 87,89 —-
***************
*** 128,130 ****
$LANG[‘days’]
– $LANG[‘db_backup’]
$LANG[‘debtors’]
— 109,110 —-
***************
*** 137,139 ****
$LANG[‘default_inv_template’]
– $LANG[‘default_invoice’]
$LANG[‘default_invoice_preference’]
— 117,118 —-
***************
*** 147,152 ****
$LANG[‘delete_row’]
– $LANG[‘delete_failed’]
– $LANG[‘delete_success’]
– $LANG[‘denied_page’]
$LANG[‘deleted’]
$LANG[‘description’]
— 126,129 —-
$LANG[‘delete_row’]
$LANG[‘deleted’]
+ $LANG[‘denied_page’]
$LANG[‘description’]
***************
*** 162,165 ****
$LANG[‘due’]
– $LANG[‘duplicate_product_value’]
– $LANG[‘duplicate_tax_description’]
$LANG[‘edit’]
— 139,140 —-
***************
*** 183,185 ****
$LANG[‘eway_merchant_xml’]
– $LANG[‘expense’]
$LANG[‘export_as’]
— 158,159 —-
***************
*** 192,197 ****
$LANG[‘export_xls_tooltip’]
– $LANG[‘expenses’]
– $LANG[‘expense_accounts’]
$LANG[‘extensions’]
– $LANG[‘failure’]
$LANG[‘faqs’]
— 166,168 —-
***************
*** 202,206 ****
$LANG[‘fax’]
– $LANG[‘field_label_upper’]
– $LANG[‘field_help_upper’]
– $LANG[‘fields_upper’]
$LANG[‘filter_by_dates’]
— 173,174 —-
***************
*** 208,213 ****
$LANG[‘financial_status’]
– $LANG[‘flag_number’]
– $LANG[‘flags_upper’]
$LANG[‘for’]
– $LANG[‘for_the_period_upper’]
$LANG[‘format_tooltip’]
— 176,178 —-
***************
*** 227,232 ****
$LANG[‘help_community_forums’]
– $LANG[‘help_company_logo’]
– $LANG[‘help_company_name’]
– $LANG[‘help_company_name_item’]
– $LANG[‘help_confirm_password’]
$LANG[‘help_cost’]
— 192,193 —-
***************
*** 234,254 ****
$LANG[‘help_custom_fields’]
– $LANG[‘help_custom_flags_associated_table’]
– $LANG[‘help_custom_flags_enable’]
– $LANG[‘help_custom_flags_field_help’]
– $LANG[‘help_custom_flags_field_label’]
– $LANG[‘help_custom_flags_flag_number’]
– $LANG[‘help_custom_field_cleanup’]
$LANG[‘help_customer_contact’]
– $LANG[‘help_customer_email’]
$LANG[‘help_database_patches’]
– $LANG[‘help_default_biller’]
– $LANG[‘help_default_customer’]
– $LANG[‘help_default_invoice’]
– $LANG[‘help_default_invoice_preference’]
$LANG[‘help_default_invoice_template_text’]
– $LANG[‘help_default_number_items’]
– $LANG[‘help_default_payment_type’]
– $LANG[‘help_default_tax’]
$LANG[‘help_delete’]
– $LANG[‘help_email_address’]
$LANG[‘help_email_bcc’]
— 195,200 —-
***************
*** 257,260 ****
$LANG[‘help_email_to’]
– $LANG[‘help_expense’]
– $LANG[‘help_expense_accounts’]
$LANG[‘help_insert_biller_text’]
— 203,204 —-
***************
*** 276,278 ****
$LANG[‘help_inv_pref_what_the’]
– $LANG[‘help_inventory’]
$LANG[‘help_invoice_create’]
— 220,221 —-
***************
*** 280,282 ****
$LANG[‘help_invoice_types’]
– $LANG[“help_language”]
$LANG[‘help_logging’]
— 223,224 —-
***************
*** 284,292 ****
$LANG[‘help_manage_custom_fields’]
– $LANG[‘help_manage_custom_flags’]
$LANG[‘help_mysql4’]
– $LANG[‘help_password_lower’]
– $LANG[‘help_password_min_length’]
– $LANG[‘help_password_number’]
– $LANG[‘help_password_special’]
– $LANG[‘help_password_upper’]
$LANG[‘help_process_payment_auto_amount’]
— 226,228 —-
***************
*** 294,303 ****
$LANG[‘help_process_payment_inv_id’]
– $LANG[‘help_product_attributes’]
$LANG[‘help_reports_xsl’]
$LANG[‘help_required_field’]
– $LANG[‘help_reset_custom_flags_products’]
– $LANG[‘help_set_aging’]
– $LANG[‘help_session_timeout’]
$LANG[‘help_si_help’]
– $LANG[‘help_signature’]
$LANG[‘help_simple_invoices’]
— 230,234 —-
***************
*** 305,314 ****
$LANG[‘help_tax_rate_sign’]
– $LANG[‘help_taxes_per_line_item’]
$LANG[‘help_text’]
– $LANG[‘help_user_enabled’]
– $LANG[‘help_user_id’]
$LANG[‘help_user_role’]
– $LANG[‘help_username’]
$LANG[‘help_what_are_custom_fields’]
– $LANG[‘help_what_are_custom_flags’]
$LANG[‘help_wheres_the_edit_button’]
— 236,240 —-
***************
*** 320,322 ****
$LANG[‘included’]
– $LANG[‘information’]
$LANG[‘insert_biller’]
— 246,247 —-
***************
*** 335,337 ****
$LANG[‘inv_pref_short’]
– $LANG[‘inv_prefs’]
$LANG[‘inv_total’]
— 260,261 —-
***************
*** 357,359 ****
$LANG[‘invoice_summary’]
– $LANG[‘invoice_total’]
$LANG[‘invoice_type’]
— 281,282 —-
***************
*** 364,366 ****
$LANG[‘itemised_style’]
– $LANG[‘last_invoice’]
$LANG[‘language’]
— 287,288 —-
***************
*** 397,399 ****
$LANG[‘more_info’]
– $LANG[‘more_than_one_pymt_rec’]
$LANG[‘mysql4_features_disabled’]
— 319,320 —-
***************
*** 401,404 ****
$LANG[‘need_help’]
– $LANG[‘net_income_report’]
– $LANG[‘new_uppercase’]
$LANG[‘new_inventory_movement’]
— 322,323 —-
***************
*** 413,419 ****
$LANG[‘no_crons’]
– $LANG[‘no_custom_flags’]
$LANG[‘no_customers’]
$LANG[‘no_defaults’]
– $LANG[‘no_expenses’]
– $LANG[‘no_expense_accounts’]
$LANG[‘no_help_page’]
— 332,335 —-
***************
*** 427,430 ****
$LANG[‘no_preferences’]
– $LANG[‘no_product_attributes’]
– $LANG[‘no_product_values’]
$LANG[‘no_products’]
— 343,344 —-
***************
*** 433,435 ****
$LANG[‘none’]
– $LANG[‘not_paid’]
$LANG[‘note’]
— 347,348 —-
***************
*** 443,445 ****
$LANG[‘of’]
– $LANG[‘on_cap’]
$LANG[‘online_payment_id’]
— 356,357 —-
***************
*** 449,451 ****
$LANG[‘other’]
– $LANG[‘outstanding’]
$LANG[‘owing’]
— 361,362 —-
***************
*** 453,462 ****
$LANG[‘paid’]
– $LANG[‘past_due_report’]
– $LANG[‘past_due_upper’]
$LANG[‘password’]
– $LANG[‘password_lower’]
– $LANG[‘password_min_length’]
– $LANG[‘password_number’]
– $LANG[‘password_special’]
– $LANG[‘password_upper’]
$LANG[‘payment’]
— 364,366 —-
***************
*** 494,496 ****
$LANG[‘prepare_simple_invoices’]
– $LANG[‘previously’]
$LANG[‘price’]
— 398,399 —-
***************
*** 526,528 ****
$LANG[‘provision_of’]
– $LANG[‘pymt_types’]
$LANG[‘quantity’]
— 429,430 —-
***************
*** 539,544 ****
$LANG[‘reorder_level’]
– $LANG[‘report’]
$LANG[‘reports’]
$LANG[‘required_field’]
– $LANG[‘reset_custom_flags’]
$LANG[‘role’]
— 441,444 —-
***************
*** 547,552 ****
$LANG[‘sales_by_customers’]
– $LANG[‘sales_by_representative’]
$LANG[‘sales_report’]
– $LANG[‘sales_representative’]
– $LANG[‘sales_summary’]
$LANG[‘sanity_check’]
— 447,449 —-
***************
*** 561,564 ****
$LANG[‘save_custom_field_success’]
– $LANG[‘save_custom_flags_failure’]
– $LANG[‘save_custom_flags_success’]
$LANG[‘save_customer’]
— 458,459 —-
***************
*** 569,574 ****
$LANG[‘save_defaults_success’]
– $LANG[‘save_expense_account_failure’]
– $LANG[‘save_expense_account_success’]
– $LANG[‘save_expense_failure’]
– $LANG[‘save_expense_success’]
$LANG[‘save_eway_check_failed’]
— 464,465 —-
***************
*** 591,598 ****
$LANG[‘save_product’]
– $LANG[‘save_product_attributes_failure’]
– $LANG[‘save_product_attributes_success’]
$LANG[‘save_product_failure’]
$LANG[‘save_product_success’]
– $LANG[‘save_product_value_failure’]
– $LANG[‘save_product_value_success’]
$LANG[‘save_tax_rate’]
— 482,485 —-
***************
*** 603,608 ****
$LANG[‘select_invoice’]
– $LANG[‘selection_period’]
– $LANG[‘session_timeout’]
– $LANG[‘set_aging’]
– $LANG[‘setting’]
$LANG[‘settings’]
— 490,491 —-
***************
*** 619,621 ****
$LANG[‘simple_invoices’]
– $LANG[‘signature’]
$LANG[‘start_date’]
— 502,503 —-
***************
*** 635,637 ****
$LANG[‘street’]
– $LANG[‘street_address’]
$LANG[‘street2’]
— 517,518 —-
***************
*** 642,644 ****
$LANG[‘summary_of_accounts’]
– $LANG[‘success’]
$LANG[‘system_defaults’]
— 523,524 —-
***************
*** 683,686 ****
$LANG[‘total_by_aging_periods’]
– $LANG[‘total_cost’]
– $LANG[‘total_income’]
$LANG[‘total_invoices’]
— 563,564 —-
***************
*** 690,692 ****
$LANG[‘total_paid’]
– $LANG[‘total_paid_this_period’]
$LANG[‘total_sales’]
— 568,569 —-
***************
*** 702,707 ****
$LANG[‘upgrading_simple_invoices’]
– $LANG[‘use_this_pref’]
$LANG[‘user_add’]
– $LANG[‘user_id’]
– $LANG[‘username’]
$LANG[‘users’]
— 579,581 —-
***************
*** 716,718 ****
$LANG[‘what_are_custom_fields’]
– $LANG[‘what_are_custom_flags’]
$LANG[‘whats_all_this_inv_pref’]
— 590,591 —-
***************
*** 723,726 ****
$LANG[‘your_reports’]
– $LANG[‘zero_invoice_amt’]
$LANG[‘zip’]
– $LANG[‘help_new_password’]
— 596,597 —

  • This reply was modified 4 years, 2 months ago by RRowley.