php-iso-639 icon indicating copy to clipboard operation
php-iso-639 copied to clipboard

English is not the only reference

Open MaximeCulea opened this issue 7 years ago • 2 comments
trafficstars

Try to find a way to i18n into other language , my source for me is : https://fr.wikipedia.org/wiki/Liste_des_codes_ISO_639-1 ;)

MaximeCulea avatar Mar 26 '18 15:03 MaximeCulea

@MaximeCulea thanks for your information. will look it up and update it. I'm also open for a PR.

matriphe avatar Mar 28 '18 01:03 matriphe

Hi @matriphe 👍

Let me ask you how you prefer this to be inplemented ?

I was thinking about storing data into a folder, with all languages in future. Then, to not use reading access too much, lower performances/speed, I would create a singleton class as getter to store statically the values.

I will check for a loaded value from getter, otherwise I retrieve it and load/store for later use.

What you think about this ?

MaximeCulea avatar Mar 28 '18 06:03 MaximeCulea