Is address[country] data-default supposed to contain translated strings?

New Member
2 0 0

I have an issue where if I change my store language to Japanese and enter a new account address, the country data-default value I get for this address is the translated string of Japan which is "日本". I expected to receive "Japan", because that's how we are supposed to select the input select option. Why is this value not equal to the option value I sent in the address form?

If I add the address with site language in English, I get "Japan", which is the value as well as text for that country in English.

Code (skipping code that is not relevant):

{% form 'customer_address'customer.new_address %}
          <div class="row">
            <div class="col">
              <div class="form-group">
                <label for="AddressCountryNew">{{ '' | t }}</label>
                <select class="form-control" id="AddressCountryNew" name="address[country]"
                  data-default="{{ }}" autocomplete="country">{{ country_option_tags }}</select>
 {% endform %}