• Resolved Jon Wong

    (@jonthewong)


    I noticed that the meta property for og:locate is set to en_US even when my site is set to en_CA.

    language_attributes();

    Shows en-CA

    When i switch my locale to fr-CA og:locale does get updated.

    I didn’t have a chance to view the code yet, but i assume EN is being defaulted to en-US and not taking into account other variations.

    I’ve tested with and without our language plugin Bogo and see the same results.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @jonthewong

    Thank you for contacting the support and apologies for the delayed response.

    It seems like an issue with the plugin.

    We are getting it checked and a fix will be available in one of the upcoming updates.

    We seek your patience and understanding in this matter.

    In the meantime, if you need any other assistance, please let us know. We are here to help.

    Plugin Author Rank Math

    (@rankmath)

    Hello @jonthewong

    Upon checking further with the development team, the reason we have not added en_CA in the list is that it is not supported by Facebook yet.
    https://developers.facebook.com/docs/messenger-platform/messenger-profile/supported-locales/

    As of July 2018, the following are valid og:locale choices :
    en_us, ca_es, cs_cz, cx_ph, cy_gb, da_dk, de_de, eu_es, en_pi, en_ud, ck_us, es_la, es_es, es_mx, gn_py, fi_fi, fr_fr, gl_es, ht_ht, hu_hu, it_it, ja_jp, ko_kr, nb_no, nn_no, nl_nl, fy_nl, pl_pl, pt_br, pt_pt, ro_ro, ru_ru, sk_sk, sl_si, sv_se, th_th, tr_tr, ku_tr, zh_cn, zh_hk, zh_tw, fb_lt, af_za, sq_al, hy_am, az_az, be_by, bn_in, bs_ba, bg_bg, hr_hr, nl_be, en_gb, eo_eo, et_ee, fo_fo, fr_ca, ka_ge, el_gr, gu_in, hi_in, is_is, id_id, ga_ie, jv_id, kn_in, kk_kz, ky_kg, la_va, lv_lv, li_nl, lt_lt, mi_nz, mk_mk, mg_mg, ms_my, mt_mt, mr_in, mn_mn, ne_np, pa_in, rm_ch, sa_in, sr_rs, so_so, sw_ke, tl_ph, ta_in, tt_ru, te_in, ml_in, uk_ua, uz_uz, vi_vn, xh_za, zu_za, km_kh, tg_tj, ar_ar, he_il, ur_pk, fa_ir, sy_sy, yi_de, qc_gt, qu_pe, ay_bo, se_no, ps_af, tl_st, gx_gr, my_mm, qz_mm, or_in, si_lk, rw_rw, ak_gh, nd_zw, sn_zw, cb_iq, ha_ng, yo_ng, ja_ks, lg_ug, br_fr, zz_tr, tz_ma, co_fr, ig_ng, as_in, am_et, lo_la, ny_mw, wo_sn, ff_ng, sc_it, ln_cd, tk_tm, sz_pl, bp_in, ns_za, tn_bw, st_za, ts_za, ss_sz, ks_in, ve_za, nr_za, ik_us, su_id, om_et, em_zm, qr_gr and iu_ca

    Hope that helps. Please let us know if there’s anything else we can help you with.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Invalid locale on en_CA’ is closed to new replies.