# |
Jul 17th 2017, 08:47 |
hmic |
braeden: you could use __('LANGUAGE_ENGLISH_HELLO') too, some prefer that so untranslated things are easier to spot |
# |
Jul 17th 2017, 08:45 |
braeden |
at the moment I am just using __('Hello') |
# |
Jul 17th 2017, 08:45 |
braeden |
Is it possible to create named references to strings? In the same way that one might use a $language associative array to reference strings by 'LANGUAGE_ENGLISH_HELLO' => 'Hello' ? |
# |
Jul 17th 2017, 08:36 |
MohammadSaleh |
slackebot, you mean if i use __('example') in a plugin, and translate it in [Plugin]/src/Locale/[lang]/default.po, then it must do woking good? yes? |
# |
Jul 17th 2017, 08:33 |
Guest97576 |
cool |
# |
Jul 17th 2017, 08:33 |
alexdd55 |
reboot did good |
# |
Jul 17th 2017, 08:27 |
MohammadSaleh |
as i described |
# |
Jul 17th 2017, 08:27 |
MohammadSaleh |
slackebot, not I havn't. all of thins is normal but not working |
# |
Jul 17th 2017, 08:26 |
MohammadSaleh |
but when it placed in the plugin not working |
# |
Jul 17th 2017, 08:26 |
MohammadSaleh |
when i moving default.po to [APP]/src/locale/[lang]/ works |
# |
Jul 17th 2017, 08:26 |
savant |
MohammadSaleh: that definitely works. Do you have an example where its not doing the right thing? |
# |
Jul 17th 2017, 08:25 |
MohammadSaleh |
why cakephp 3 doesn't translate words which is translated by __() in the codes and extraced to the default.po in the plugins? |
# |
Jul 17th 2017, 08:24 |
alexdd55 |
hi mo |
# |
Jul 17th 2017, 08:23 |
MohammadSaleh |
Hi guys |
# |
Jul 17th 2017, 08:19 |
alexdd55 |
hm.. everything is slowed down.. may i do a reboot first |
# |
Jul 17th 2017, 08:17 |
alexdd55 |
same result, takes a min and then same |
# |
Jul 17th 2017, 08:16 |
savant |
yeah can you refresh? |
# |
Jul 17th 2017, 08:15 |
hmic |
if the rest worked, looks like an intermittend error - just start over again |
# |
Jul 17th 2017, 08:15 |
savant |
or in the browser? |
# |
Jul 17th 2017, 08:15 |
savant |
did it give you an error when it ran? |
# |
Jul 17th 2017, 08:15 |
alexdd55 |
okm, it comes up, only with this warning |
# |
Jul 17th 2017, 08:14 |
alexdd55 |
actually… everything else works… when i user composter, ther eis ni problem |
# |
Jul 17th 2017, 08:13 |
savant |
and can you get to that url normally |
# |
Jul 17th 2017, 08:13 |
savant |
are you behind a firewall? |
# |
Jul 17th 2017, 08:13 |
alexdd55 |
> : file_get_contents(https://packagist.org/packages/cakephp/cakephp.json): failed to open stream: Operation timed out |
# |
Jul 17th 2017, 08:10 |
alexdd55 |
i try to find out.. it says internal server error |
# |
Jul 17th 2017, 08:10 |
savant |
what isnt |
# |
Jul 17th 2017, 08:09 |
alexdd55 |
hm. not working |
# |
Jul 17th 2017, 08:06 |
alexdd55 |
thanks |
# |
Jul 17th 2017, 08:04 |
savant |
hmmm |
# |
Jul 17th 2017, 08:04 |
alexdd55 |
ah.. cakedc/ |
# |
Jul 17th 2017, 08:02 |
savant |
cakedc/oven |
# |
Jul 17th 2017, 08:02 |
savant |
yes |
# |
Jul 17th 2017, 08:02 |
alexdd55 |
can not remember the name |
# |
Jul 17th 2017, 08:02 |
alexdd55 |
wasn’t there a install wizard for cake? |
# |
Jul 17th 2017, 08:01 |
alexdd55 |
morning |
# |
Jul 17th 2017, 07:58 |
Guest97576 |
morning |
# |
Jul 17th 2017, 07:55 |
neon1024 |
Morning everyone |
# |
Jul 17th 2017, 07:51 |
savant |
a silly answer |
# |
Jul 17th 2017, 07:47 |
xuding |
a silly question, |
# |
Jul 17th 2017, 05:34 |
iqbalchannar796 |
https://gist.github.com/anonymous/ea72b0ad34ea5e4ea81fc79541c7560d |