How to translate my own section ?
Posted 11 March 2012 - 06:00 PM
I want to translate in other Language.
In function section_optionator( $settings ) ???all string with __() can show correctly.
but all of the string I used in function section_template can't show my translation
I used in function section_template .
and the string which I want to translate is __('7 reason to subscribe','$this->base_url').
but I will only show ' 7 reason to subscribe ' on my page . not the string I want to translate.
So, is there anyone can tell me exactly how it works ?
Posted 11 March 2012 - 09:03 PM
Posted 12 March 2012 - 01:46 AM
I have already read the post. Unfortunatly,it's not the case .
the post is tell us how to translate the Pagelines framwork.
it already has a .pot file.
so I can easily translate into what I want.
But my case is to translate the section which I made.
there is no .pot or .po in my section.
I have to create one.
Since that's not a problem for me.
but,I don't know Why the string in can be translate perfectly. But All strings which I used in will not be translated.
So , can pagelines developer help me to solve this ?
Posted 12 March 2012 - 03:01 AM
Posted 12 March 2012 - 08:41 PM
and two files zh_TW.po and zh_TW.mo in the same dir .
still not work.
so , what's the problem?
Posted 15 March 2012 - 07:30 PM