Changes
Jump to navigation
Jump to search
← Older edit
Product Opener - How to update interface translations in Lang.pm
(view source)
Revision as of 14:25, 9 September 2015
479 bytes added
,
14:25, 9 September 2015
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.
Teolemon
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
3,997
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
Where am I?
Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
Open Beauty Facts wiki
Main page
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages