return [
    'statetypes' => [
        'processing' => 'processing translation',
        'complete' => 'complete translation'
    ]
];{{ @statetypes[@state] }}Also a reminder – don’t forget to set ‘LOCALES’ and ‘FALLBACK’ if necessary
-- 
-- You've received this message because you are subscribed to the Google Groups group. To post to this group, send an email to f3-fra...@googlegroups.com. To unsubscribe from this group, send an email to f3-framework...@googlegroups.com. For more
 options, visit this group at 
https://groups.google.com/d/forum/f3-framework?hl=en
--- 
You received this message because you are subscribed to the Google Groups "Fat-Free Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
f3-framework...@googlegroups.com.
To post to this group, send email to 
f3-fra...@googlegroups.com.
Visit this group at https://groups.google.com/group/f3-framework.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/f3-framework/2633e96c-1b98-43ad-8efd-ed071940e3e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
{{ ${@state} }}
just tested and seems to work:
{{ ${@state} }}
Am Donnerstag, 29. November 2018 13:05:04 UTC+1 schrieb arava:hi everyone.I have the next structure:en.phpreturn = ['processing' => 'some state',];------------------------------------------SomeController.php$value = 'processing';$this-f3->set('state',$value);------------------------------------------some_html.html{{ @state }}------------------------------------------// okay, the state value is processing... it`s fine... But how i should translate this value into another lang ??? I know how to enable localization in F3, but how to do this with a value that is already under template engine...i mean something like this :{{ @ {{@state }}thx
--
-- You've received this message because you are subscribed to the Google Groups group. To post to this group, send an email to f3-fra...@googlegroups.com. To unsubscribe from this group, send an email to f3-framework...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/f3-framework?hl=en
---
You received this message because you are subscribed to the Google Groups "Fat-Free Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to f3-framework...@googlegroups.com.
To post to this group, send email to f3-fra...@googlegroups.com.
Visit this group at https://groups.google.com/group/f3-framework.
To view this discussion on the web visit https://groups.google.com/d/msgid/f3-framework/2849ea92-218e-4fca-b573-d904dd9b9938%40googlegroups.com.
PREFIX = ll.{{ @ll[@state] }}that`s right, it`s work... but i never saw this syntax, can you give me please where i can find it in docs ?
On Thu, Nov 29, 2018 at 8:14 PM ikkez via Fat-Free Framework <f3-framework+APn2wQcLLxvM44tXyXUIlLiBuahXNKnThidSJJEimHzvX0ckDZq@googlegroups.com> wrote:
--just tested and seems to work:
{{ ${@state} }}
Am Donnerstag, 29. November 2018 13:05:04 UTC+1 schrieb arava:hi everyone.I have the next structure:en.phpreturn = ['processing' => 'some state',];------------------------------------------SomeController.php$value = 'processing';$this-f3->set('state',$value);------------------------------------------some_html.html{{ @state }}------------------------------------------// okay, the state value is processing... it`s fine... But how i should translate this value into another lang ??? I know how to enable localization in F3, but how to do this with a value that is already under template engine...i mean something like this :{{ @ {{@state }}thx
-- You've received this message because you are subscribed to the Google Groups group. To post to this group, send an email to f3-fra...@googlegroups.com. To unsubscribe from this group, send an email to f3-framework+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/f3-framework?hl=en
---
You received this message because you are subscribed to the Google Groups "Fat-Free Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to f3-framework+unsubscribe@googlegroups.com.
Also, if you use a language PREFIX, like i.e.
Am Donnerstag, 29. November 2018 19:22:11 UTC+1 schrieb arava:
that`s right, it`s work... but i never saw this syntax, can you give me please where i can find it in docs ?
On Thu, Nov 29, 2018 at 8:14 PM ikkez via Fat-Free Framework <f3-framework+APn2wQcLLxvM44tXyXU...@googlegroups.com> wrote:
--just tested and seems to work:
{{ ${@state} }}
Am Donnerstag, 29. November 2018 13:05:04 UTC+1 schrieb arava:hi everyone.I have the next structure:en.phpreturn = ['processing' => 'some state',];------------------------------------------SomeController.php$value = 'processing';$this-f3->set('state',$value);------------------------------------------some_html.html{{ @state }}------------------------------------------// okay, the state value is processing... it`s fine... But how i should translate this value into another lang ??? I know how to enable localization in F3, but how to do this with a value that is already under template engine...i mean something like this :{{ @ {{@state }}thx
-- You've received this message because you are subscribed to the Google Groups group. To post to this group, send an email to f3-fra...@googlegroups.com. To unsubscribe from this group, send an email to f3-framework...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/f3-framework?hl=en
---
You received this message because you are subscribed to the Google Groups "Fat-Free Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to f3-framework...@googlegroups.com.
To post to this group, send email to f3-fra...@googlegroups.com.
Visit this group at https://groups.google.com/group/f3-framework.
To view this discussion on the web visit https://groups.google.com/d/msgid/f3-framework/2849ea92-218e-4fca-b573-d904dd9b9938%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
-- You've received this message because you are subscribed to the Google Groups group. To post to this group, send an email to f3-fra...@googlegroups.com. To unsubscribe from this group, send an email to f3-framework...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/f3-framework?hl=en
---
You received this message because you are subscribed to the Google Groups "Fat-Free Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to f3-framework...@googlegroups.com.
To post to this group, send email to f3-fra...@googlegroups.com.
Visit this group at https://groups.google.com/group/f3-framework.
To view this discussion on the web visit https://groups.google.com/d/msgid/f3-framework/8c2aa657-562a-42c2-ab74-0147bad781a7%40googlegroups.com.