Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  +
[[Project:ProductOpener]] > [[Product Opener documentation]]
 +
[[Category:ProductOpener]][[Category:Translations]]
 +
== Introduction ==
 +
 
The translations for the strings used in Product Opener are located in Lang.pm
 
The translations for the strings used in Product Opener are located in Lang.pm
   Line 52: Line 56:  
</pre>
 
</pre>
   −
Most errors are mismatched or forgotten " and ' to terminate strings.
+
Most errors are mismatched or forgotten " and ' to terminate strings, or strings that contain " or '. (use the other one for delimiters)
    +
== Restart Apache ==
   −
== Restarting Apache ==
+
When issues are fixed, copy Lang2.pm to Lang.pm then stop and start Apache.
 +
 
 +
<pre>
 +
sudo apache/bin/apachectl stop
 +
sudo apache/bin/apachectl start
 +
</pre>
   −
When issues are fixed, copy Lang2.pm to Lang.pm and restart Apache.
+
Note: apachectl restart does not reload preloaded Perl modules like Lang.pm, you have to stop and start.
    
Check that the changes are live and display correctly on the site.
 
Check that the changes are live and display correctly on the site.
   −
== Update wiki ==
+
== Update the wiki ==
    
Any fixes you made to the Lang.pm file need to be saved immediately on the wiki.
 
Any fixes you made to the Lang.pm file need to be saved immediately on the wiki.
 +
 +
== Commit changes ==
 +
 +
For Open Food Facts, commit your changes to the git repository.

Navigation menu