[Plugin: Polylang] Multiple languages sharing two letter language code (e.g. pt_BR and pt_PT)
-
Hi guys, I am having my website (including Polylang) developed by an external developer, and I have a question about the way languages are supported.
My site is a comics website, and I am going to support multiple language transations of my comics. The way which my developer has told me to enable this is to ensure the category slug for each language reads “comics_en”, “comics_zh”, “comics_pt”, etc.
I have tried category names such as “comics_ptbr” (i.e. specifying Brazilian Portuguese) and “quadrinhos_pt” (Quadrinhos is the pt-BR translation of the word ‘comics’), but these do not successfully result in my comics appearing in the appropriate formatting on my site. (The developer has created some CSS/etc for the way the comics images display within my website).
It seems that this current setup is preventing me from having more than 1 language with a certain language code. e.g. if I have Brazilian Portuguese (pt_BR), I would not be able to also feature standard Portuguese (pt_PT).
—
My question is: is this limitation to using the 2 letter language code a limitation of Polylang, or just the way the plugin is currently implemented on my site.
I ask this question because I want to future-proof the code of my site. So that (for example) I might one day support both Brazilian Portuguese (pt_BR), and standard Portuguese (pt_PT) versions of my comics.
- The topic ‘[Plugin: Polylang] Multiple languages sharing two letter language code (e.g. pt_BR and pt_PT)’ is closed to new replies.