Making WordPress.org

Ticket #2890: readme.html.php

File readme.html.php, 3.1 KB (added by casiepa, 5 years ago)

How about this as a start? Changes to the file could be maintained by Polyglots as part of release process, strings could go into Translate and files could be generated and added into the locale packages.

Line 
1<!DOCTYPE html>
2<html lang="<?php 
3/* Translators: locale e.g. fr or fr-BE */
4__( 'en' );
5?>">
6<head>
7        <meta name="viewport" content="width=device-width" />
8        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9        <title><?php 
10/* Translators: Head title */
11__( 'WordPress &#8250; ReadMe' );
12?></title>
13        <link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" />
14</head>
15<body>
16<h1 id="logo">
17        <a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
18</h1>
19<p style="text-align: center"><?php 
20/* Translators: Page title */
21__( 'Semantic Personal Publishing Platform' );
22?></p>
23
24<h2><?php 
25/* Translators: Paragraph header */
26__( 'First Things First' );
27?></h2>
28<p><?php __( 'Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I&#8217;m proud to be a part of.' ); ?> <?php __( 'Thousands of hours have gone into WordPress, and we&#8217;re dedicated to making it better every day. Thank you for making it part of your world.' ); ?></p>
29<p style="text-align: right">&#8212; Matt Mullenweg</p>
30
31<h2><?php 
32/* Translators: Paragraph header */
33__( 'Installation: Famous 5-minute install' );
34?></h2>
35<ol>
36        <li><?php __( 'Unzip the package in an empty directory and upload everything.' ); ?></li>
37        <li><?php printf(
38                                /* translators: %s: URL to install.php. */
39                                __( 'Open %s in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details.' ),
40                                '<span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span>'
41                                ); ?>
42                <ol>
43                        <li><?php __( 'If for some reason this doesn&#8217;t work, don&#8217;t worry. It doesn&#8217;t work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.' ); ?></li>
44                        <li><?php __( 'Save the file as <code>wp-config.php</code> and upload it.' ); ?></li>
45                        <li><?php printf(
46                                                /* translators: %s: URL to install.php. */
47                                                __( 'Open %s in your browser.' ),
48                                                '<span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span>'
49                                                ); ?></li>
50                </ol>
51        </li>
52        <li><?php __( 'Once the configuration file is set up, the installer will set up the tables needed for your site. If there is an error, double check your <code>wp-config.php</code> file, and try again.'); __( 'If it fails again, please go to the <a href="https://wordpress.org/support/forums/">WordPress support forums</a> with as much data as you can gather.' ); ?></li>
53        <li><strong><?php __( 'If you did not enter a password, note the password given to you.' ); ?></strong> <?php __( 'If you did not provide a username, it will be <code>admin</code>.' ); ?></li>
54        <li><?php __( 'The installer should then send you to the <a href="wp-login.php">login page</a>. Sign in with the username and password you chose during the installation.' ); __( 'If a password was generated for you, you can then click on &#8220;Profile&#8221; to change the password.' ); ?></li>
55</ol>
56
57...
58
59</body>
60</html>