•  » Translations
  •  » Translation and theme/plugin development

#1 2017-01-06 20:45:06

Serge D
Member
US
2014-07-15
384

Translation and theme/plugin development

Hi

Want to clarify on the process
I have few themes/plugins
When I look at lang files for the theme there is very little translated - GreyDragon Theme - http://piwigo.org/ext/extension_view.php?eid=775
I suspect because theme was not parsed in a while
how to trigger theme refresh or see what translate tool status is ?

Offline

 

#2 2017-01-07 07:20:11

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7252

Re: Translation and theme/plugin development


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2017-01-07 21:08:07

Serge D
Member
US
2014-07-15
384

Re: Translation and theme/plugin development

Above is not the problem
Problem is that lang file only translates 10 strings
Admin area has much more text

Offline

 

#4 2017-01-07 23:33:37

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7252

Re: Translation and theme/plugin development

Hi :-)

http://piwigo.org/dev/browser/extension … e.lang.php

model is here

You're update file ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2017-01-08 20:58:53

Serge D
Member
US
2014-07-15
384

Re: Translation and theme/plugin development

I was hoping it is automatic, but I guess not
If I remember correctly there was some sort of tool which can parse code and/or templates and generate file
was I dreaming?

Offline

 

#6 2017-01-09 06:44:05

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7252

Re: Translation and theme/plugin development

Hi :-)

yes it's a dream sorry !
you must update EN file when you add key in other file.

if you add key in the EN file, the translate tool is automatically updated


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#7 2017-01-12 11:14:15

nicolas
Former Piwigo Team
2004-12-30
1232

Re: Translation and theme/plugin development

Serge D wrote:

I was hoping it is automatic, but I guess not
If I remember correctly there was some sort of tool which can parse code and/or templates and generate file
was I dreaming?

Yes it's a dream. Tools from gettext can help you but the generated file is not the attented ones. :-(

Offline

 
  •  » Translations
  •  » Translation and theme/plugin development

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact