Skip Menu |
 

This queue is for tickets about the Mojolicious-Plugin-I18N CPAN distribution.

Report information
The Basics
Id: 94204
Status: resolved
Priority: 0/
Queue: Mojolicious-Plugin-I18N

People
Owner: Nobody in particular
Requestors: daniel [...] firewall-services.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Getting list of translated strings for the current language
Date: Wed, 26 Mar 2014 11:45:16 +0100
To: bug-mojolicious-plugin-i18n [...] rt.cpan.org
From: Daniel Berteaud <daniel [...] firewall-services.com>
Download (untitled) / with headers
text/plain 442b
I'm using the I18N plugin for a small project, and would need to get the complete list of strings translated for the current language, is there a way to get it ? I'd need to access keys %Lexicon from the Mojo app. Regards, Daniel -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Web : http://www.firewall-services.com
Download (untitled) / with headers
text/plain 134b
Yes, please, add support for access to %Lexicon. I need it to do on-fly translation strings into JS-strings for JS-framework. Thanks!
Download (untitled) / with headers
text/plain 338b
Пнд Июл 21 06:17:56 2014, DMOL писал: Show quoted text
> Yes, please, add support for access to %Lexicon. I need it to do on- > fly translation strings into JS-strings for JS-framework. > > Thanks!
%Lexicon is global hash, you can get the access %Mojolicious::Plugin::I18n::en::Lexicon Check out script/another_plugin.pl -- use Perl or die;


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.