Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/generic-tax-labels.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@godaddy/localizations": patch
---

Use generic tax labels for combined tax totals. `enAu` no longer shows "Estimated GST", "GST included" or GST-specific tax errors. `enUs`, `esUs` and `frCa` now say "Taxes included" / "Impuestos incluidos" / "Taxes incluses" instead of naming VAT, IVA or TVA. Add an `enCa` localization so Canadian checkouts no longer need to borrow `enAu`.
7 changes: 7 additions & 0 deletions packages/localizations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ function App() {

## Available Localizations

- `enUs` - English (United States)
- `enCa` - English (Canada)
- `enAu` - English (Australia)
- `enIe` - English (Ireland)
- `frFr` - French (France)
- `frCa` - French (Canada)

See `src/index.ts` for the full list.

## Localization Structure

Expand Down
10 changes: 5 additions & 5 deletions packages/localizations/src/enAu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const enAu = {
failedToInitializePayment: 'Failed to initialise payment.',
orderTotal: 'Order Total',
subtotal: 'Subtotal',
tax: 'GST',
tax: 'Tax',
shipping: 'Shipping',
discount: 'Coupon',
processingPayment: 'Processing payment...',
Expand All @@ -169,8 +169,8 @@ export const enAu = {
discount: 'Discount',
shipping: 'Shipping',
tip: 'Tip',
estimatedTaxes: 'Estimated GST',
vatIncluded: 'GST included',
estimatedTaxes: 'Estimated taxes',
vatIncluded: 'Taxes included',
fees: 'Fees',
totalDue: 'Total Due',
orderSummary: 'Order Summary',
Expand Down Expand Up @@ -309,7 +309,7 @@ export const enAu = {
TRANSACTION_PROCESSING_ERROR: 'Transaction processing error',
UNKNOWN_ERROR: 'Unknown error',
FULFILLMENT_CREATION_ERROR: 'Fulfillment creation error',
TAX_CALCULATION_ERROR: 'GST calculation error',
TAX_CALCULATION_ERROR: 'Tax calculation error',
ADDRESS_VERIFICATION_ERROR: 'Address verification error',
ADDRESS_MATCHES_ERROR: 'Address matches error',
SHIPPING_CONFLICT_ERROR: 'Shipping conflict error',
Expand All @@ -328,7 +328,7 @@ export const enAu = {
MISSING_SHIPPING_ADDRESS: 'Shipping address is required',
MISSING_REQUIRED_FIELD: 'Required field is missing',
CATALOG_API_ERROR: 'Catalogue service error',
TAX_SERVICE_UNAVAILABLE: 'GST service is unavailable',
TAX_SERVICE_UNAVAILABLE: 'Tax service is unavailable',
SHIPPING_SERVICE_UNAVAILABLE: 'Shipping service is unavailable',
PRICE_ADJUSTMENTS_SERVICE_UNAVAILABLE:
'Price adjustments service is unavailable',
Expand Down
Loading
Loading