Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
12k Newcomer
@me12k · Joined 9 years ago · 8 posts · 2 topics · 0 reputation
Badges
Recent posts
-
Twig dynamic translation
· 9 years ago
@iusvar you are great!!!
-
Twig dynamic translation
· 9 years ago
I'm investigating on it, if you look at line 373 of /system/src/Grav/Common/Language.php you can find the function translate Translate public function translate($args, array $languages = null, $array
-
Twig dynamic translation
· 9 years ago
I' ve read the same file end I think the problem is at line 593 , if you look the function public function translate() { return $this->grav['language']->translate(func_get_args()); } It don't ac
-
Twig dynamic translation
· 9 years ago
@iusvar, Thank you for your reply, I've read the documentation but nfortunately don't help. If you do $grav[‘language’]->translate([‘HEADER.MAIN_TEXT’], ‘fr’); in php and then pass the result to tw
-
Twig dynamic translation
· 9 years ago
Hi guys, really no one can help me with this? For clarification, I only need to translate based on user language settings, i try also the "tu" but it not work, and I don't understand why.
-
Twig dynamic translation
· 9 years ago
Hi guys, I see in doc that is possible to do this: $translation = $grav['language']->translate(['HEADER.MAIN_TEXT'], 'fr'); now i try to do the same in twig template, I need it to send a translated
-
Clarification about Official GPM Only
· 9 years ago
WOW guys, @flavio sure, i do the same on my server but I was courios about that option @rhuk this is awesome!! I'm happy to read your post!! honestly I'm waiting for this major update of GPM 😉 Well,
-
Clarification about Official GPM Only
· 9 years ago
Hy all, I need only a clarification about the Official GPM Only option. I have my personal git repos hosted on my own server, GPM have the ability to check and do the update directly from this repos?