woocommerce icon indicating copy to clipboard operation
woocommerce copied to clipboard

Add new 2019 Algerian states

Open senadir opened this issue 2 years ago • 8 comments
trafficstars

In 2019, Algerian introduced 10 new states that were previously part of other bigger states, this PR adds them

https://en.wikipedia.org/wiki/Provinces_of_Algeria#Since_2019

It also fixes some misspellings:

Closes https://github.com/woocommerce/woocommerce/issues/33969

Testing steps:

  • Make sure your shipping and billing countries include Algeria (default settings include all countries).
  • In Checkout, select Algeria as a country.
  • Scroll down, you should be able to see the new wilayats image

senadir avatar Oct 14 '23 11:10 senadir

Test Results Summary

Commit SHA: d56cc7487933af98efb088ca98416871fa6294fd

Test :test_tube:Passed :white_check_mark:Failed :rotating_light:Broken :construction:Skipped :next_track_button:Unknown :grey_question:Total :bar_chart:Duration :stopwatch:
API Tests237202202610m 41s
E2E Tests335001603517m 6s

:warning: Warning

Please address the following issues prior to merging this pull request:
  • FAILED/BROKEN TESTS. There were failed and/or broken API and E2E tests.

To view the full API test report, click here.
To view the full E2E test report, click here.
To view all test reports, visit the WooCommerce Test Reports Dashboard.

github-actions[bot] avatar Oct 14 '23 12:10 github-actions[bot]

Hi @Konamiman,

Apart from reviewing the code changes, please make sure to review the testing instructions as well.

You can follow this guide to find out what good testing instructions should look like: https://github.com/woocommerce/woocommerce/wiki/Writing-high-quality-testing-instructions

github-actions[bot] avatar Dec 18 '23 12:12 github-actions[bot]

@senadir could you provide testing instructions?

lsinger avatar Dec 22 '23 11:12 lsinger

A note that this doesn't seem to be reflected in the current CLDR data, which is the standard we follow and generally tell contributors we need to adhere to.

barryhughes avatar Jan 09 '24 19:01 barryhughes

Hey @lsinger, sure, I will add testing steps for WP Admin, Checkout, and Shipping settings.

@barryhughes Thank you for that resource, in that regard, I will a PR there first.

The new system isn't highly enforced now (most shipping companies will still route to the correct place if you provide the city and state, and that' required in shipping), but this is very much in law.

senadir avatar Jan 10 '24 14:01 senadir

Hey @barryhughes I tried to figure out the contribution process to CLDR and it's confusing at best, and undoable at worse.

senadir avatar Mar 04 '24 12:03 senadir

Hey @barryhughes I tried to figure out the contribution process to CLDR and it's confusing at best, and undoable at worse.

Should we wait for that for the review? Maybe add a blocked label? 🤔

wavvves avatar Mar 11 '24 19:03 wavvves

Hey @barryhughes I tried to figure out the contribution process to CLDR and it's confusing at best, and undoable at worse.

Very belated follow-up here.

Some changes like this are potentially sensitive, depending on the geography, which is why we defer to CLDR (it acts as a sort of neutral authority, but this really only works if we are consistent and don't make exceptions). However, it does seem to have significant 'lag' and, I guess, it sounds like contributing to it is harder than one might expect.

  • We don't want to act as gatekeepers here, but perhaps our use of CLDR as the authority for changes like this is something we should start a discussion about?
  • In the future, we'd love to get to a point where CLDR data is ingested automatically, perhaps at build-time, rather than using it as a manual reference (which is basically what happens currently).
  • We've also discussed making it much easier for merchants to customize this data, so they don't need to resort to code snippets. That might make it more palatable to continue defaulting to CLDR.

barryhughes avatar May 24 '24 13:05 barryhughes