[Vtigercrm-developers] fallback Translation fot extensions to en_us
Stefan Warnat
ich at stefanwarnat.de
Fri Sep 12 07:18:57 GMT 2014
Hy,
Thanks for very quick response! I love the "new" vtiger support team. ;)
It don't belong to a client I manage, but a customer which buy one of my
extension.
The en_us translation is shipped with my modules. I solve this problem for
the default shipped languages with a small "include en_us language" file.
He use his own (in this case japanese) translation, because they life in
japan. I think anybody could create it's own language and configure it as
default language.
For example in the klingon language. ;)
Also I know he couldn't suppose to simple create his own translation and
everything works perfect. But a last fallback to en_us would open this
possibility and wouldn't hard to implement.
(The other side will be he could send the translation to you. But this
won't be the case in all situations.)
Stefan
----
*Freelancer at Webdevelopment*
Web: http://www.stefanwarnat.de
Xing: https://www.xing.com/profile/Stefan_Warnat2
LinkedIn: http://www.linkedin.com/pub/stefan-warnat/6/827/820
eMail: kontakt at stefanwarnat.de
On Fri, Sep 12, 2014 at 9:02 AM, Prasad <prasad at vtiger.com> wrote:
> Stefan,
>
> We recommend en_us be packaged in the extension (assuming most of the
> install would have it as default language).
> If you are setting default language other than en_us in config file - you
> need to make sure the translation exists for fallback.
>
> Regards,
> Prasad
>
> *Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
> <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
> <https://blogs.vtiger.com/>* I* Wiki
> <http://wiki.vtiger.com/index.php/Main_Page> *I *Forums
> <https://discussions.vtiger.com>*I* Website <https://www.vtiger.com/>
>
> On Fri, Sep 12, 2014 at 12:23 PM, Stefan Warnat <ich at stefanwarnat.de>
> wrote:
>
>> Hy,
>>
>> I'm not sure if this was a topic before this time, but I didn't found
>> anything.
>> I have recognize a problem in 6.0 an 6.1 ea:
>>
>> One Customer use my module with a custom translation (japanese).
>> At the moment I only create language files for german and englishm which
>> was ok in 5.4, because there was a fallback to english in any case.
>>
>> Now the vtiger didn't load a translation if there is no file and I have
>> to create every languagefile manually.
>>
>> Will there be a default fallback I have to configure in my module?
>>
>> If not, I think it will be a good idea to always open the en_us as last
>> option.
>> It the moment the last fallback will be the configured default language,
>> which is also japanese in my current case.
>>
>> Stefan
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140912/9d1f38e9/attachment.html>
More information about the vtigercrm-developers
mailing list