Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18212

Re: DB with a main language table and different kind of translations

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: DB with a main language table and different kind of translations
Date Wed, 4 Mar 2020 08:08:43 +0100
Lines 39
Message-ID <hc92frFm41iU1@mid.individual.net> (permalink)
References <qq6un7$c5j$1@gioia.aioe.org> <5fd669e2-34ed-4829-96c8-bf5a0a60f727@googlegroups.com> <qtvsb2$hh7$1@jstuckle.eternal-september.org> <d0a613cb-62be-4037-8ea0-ceb8a3571ad9@googlegroups.com> <h6jp8sFn4orU1@mid.individual.net> <c770b6b9-c733-40d5-96cd-64ae12d59285@googlegroups.com> <h6kbjlFqqliU1@mid.individual.net> <bb663886-a602-4839-b659-f2c95e8d994d@googlegroups.com> <h6kgkpFrs0lU1@mid.individual.net> <0783e278-065d-48ce-8ef3-4ab1b3cd6784@googlegroups.com> <qu3b0u$3cu$1@jstuckle.eternal-september.org> <e2c4845a-f7d5-4d94-a279-5b38bed94317@googlegroups.com> <qu588s$iuo$1@jstuckle.eternal-september.org> <240fba05-33e3-4245-ac93-0a487f1c0dea@googlegroups.com> <qu61u4$1e3$1@jstuckle.eternal-september.org> <105b7456-878b-4f90-a0f3-385b61fa2495@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace individual.net smsgFjF13m1i87qa93rHRQMgH+axDsxyGVl3DDJPrvm0FYEBkE
Cancel-Lock sha1:aZVEl57lbQAmEC9l4XCsDA+49kg=
In-Reply-To <105b7456-878b-4f90-a0f3-385b61fa2495@googlegroups.com>
Xref csiph.com comp.lang.php:18212

Show key headers only | View raw


kristjanman2k20@gmail.com:

[...]
> If I remind correctly, then you should use meta keywords in html. And
> for translated pages you can add the endings like "/fin" or
> "/irl"(ireland) to search engines one by one.

Keywords are mostly irrelevant nowadays due to their abuse by search
engine spammers. The correct way to indicate the language of a website
in HTML5 (which you should use anyway) is the "lang" attribute in the
html element.

Example:

1) German

<https://arnowelzel.de/>

<!DOCTYPE html>
<html lang="de-DE">
<head>

2) English

<https://arnowelzel.de/en/>

<!DOCTYPE html>
<html lang="en-US">
<head>

The "lang" attribute can also be used in other elements if the element
itself is in a different language:

<span title="Spanish"><a lang="es" href="someurl">EspaƱol</a></span>


-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

DB with a main language table and different kind of translations ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-09 18:58 +0100
  Re: DB with a main language table and different kind of translations "J.O. Aho" <user@example.net> - 2019-11-09 20:33 +0100
    Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-22 02:53 -0800
  Re: DB with a main language table and different kind of translations Arno Welzel <usenet@arnowelzel.de> - 2019-11-09 23:52 +0100
    Re: DB with a main language table and different kind of translations ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-10 10:19 +0100
      Re: DB with a main language table and different kind of translations Martin Leese <please@see.Web.for.e-mail.INVALID> - 2019-11-10 10:35 -0700
  Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-25 00:01 -0800
    Re: DB with a main language table and different kind of translations Jerry Stuckle <jstucklex@attglobal.net> - 2019-12-25 09:39 -0500
      Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-26 04:09 -0800
        Re: DB with a main language table and different kind of translations "J.O. Aho" <user@example.net> - 2019-12-26 14:01 +0100
          Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-26 08:28 -0800
            Re: DB with a main language table and different kind of translations "J.O. Aho" <user@example.net> - 2019-12-26 19:14 +0100
              Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-26 10:28 -0800
                Re: DB with a main language table and different kind of translations "J.O. Aho" <user@example.net> - 2019-12-26 20:40 +0100
                Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-26 12:23 -0800
                Re: DB with a main language table and different kind of translations Jerry Stuckle <jstucklex@attglobal.net> - 2019-12-26 17:08 -0500
                Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-26 17:41 -0800
                Re: DB with a main language table and different kind of translations Jerry Stuckle <jstucklex@attglobal.net> - 2019-12-27 10:33 -0500
                Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-27 12:55 -0800
                Re: DB with a main language table and different kind of translations Jerry Stuckle <jstucklex@attglobal.net> - 2019-12-27 17:51 -0500
                Re: DB with a main language table and different kind of translations kristjanman2k20@gmail.com - 2020-03-03 07:14 -0800
                Re: DB with a main language table and different kind of translations Jerry Stuckle <jstucklex@attglobal.net> - 2020-03-03 16:39 -0500
                Re: DB with a main language table and different kind of translations kristjanman2k20@gmail.com - 2020-03-03 14:43 -0800
                Re: DB with a main language table and different kind of translations Jerry Stuckle <jstucklex@attglobal.net> - 2020-03-03 21:39 -0500
                Re: DB with a main language table and different kind of translations kristjanman2k20@gmail.com - 2020-03-04 05:35 -0800
                Re: DB with a main language table and different kind of translations Jerry Stuckle <jstucklex@attglobal.net> - 2020-03-04 11:11 -0500
                Re: DB with a main language table and different kind of translations kristjanman2k20@gmail.com - 2020-03-04 08:17 -0800
                Re: DB with a main language table and different kind of translations Arno Welzel <usenet@arnowelzel.de> - 2020-03-04 08:08 +0100
                Re: DB with a main language table and different kind of translations kristjanman2k20@gmail.com - 2020-03-04 05:31 -0800
                Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-26 17:44 -0800
                Re: DB with a main language table and different kind of translations "J.O. Aho" <user@example.net> - 2019-12-27 10:55 +0100
                Re: DB with a main language table and different kind of translations robamman2019@gmail.com - 2019-12-27 13:20 -0800
                Re: DB with a main language table and different kind of translations "J.O. Aho" <user@example.net> - 2019-12-28 00:21 +0100
                Re: DB with a main language table and different kind of translations kristjanman2k20@gmail.com - 2020-03-03 07:22 -0800
                Re: DB with a main language table and different kind of translations "J.O. Aho" <user@example.net> - 2019-12-27 10:49 +0100
        Re: DB with a main language table and different kind of translations Jerry Stuckle <jstucklex@attglobal.net> - 2019-12-26 10:48 -0500
  Re: DB with a main language table and different kind of translations Richard Damon <Richard@Damon-Family.org> - 2019-12-25 09:36 -0500

csiph-web