Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Product Opener - How to update interface translations in Lang.pm
(view source)
Revision as of 11:07, 4 February 2015
261 bytes added
,
11:07, 4 February 2015
no edit summary
Line 52:
Line 52:
</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)
+
== Restarting 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.
Stephane
Bureaucrats
,
Administrators
1,073
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