cakephp-translate icon indicating copy to clipboard operation
cakephp-translate copied to clipboard

Use Locale instead of ISO2

Open ravage84 opened this issue 8 years ago • 3 comments

(Theoretically) it is possible to have more than one locale per language.

For example one could have three locales for the German language (de):

  1. de_DE for German from Germany
  2. de_CH for German from Switzerland
  3. de_DE for German from Austria

The current implementation uses the ISO2 language code to process, extract and dump data.

Also, if one uses the full locale string as locale folder (de_CH) name instead of just the language ISO2 (de), he will end up with two locale folders.

ravage84 avatar May 19 '17 15:05 ravage84

We should fix this before I tag a first 0.1 release.

dereuromark avatar Jan 09 '18 01:01 dereuromark

@ravage84 I started the Cake5 upgrade

are you still interested in this plugin and should be combine forces getting it production ready?

dereuromark avatar Mar 20 '24 18:03 dereuromark

I'm not since we aren't using CakePHP 5.x yet and I never came around using this plugin,. Sorry.

ravage84 avatar Apr 03 '24 10:04 ravage84

This should be fixed on 5.x now.

dereuromark avatar Jun 27 '24 14:06 dereuromark