Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWSsi-0006fx-Qk for pgsql-general@arkaria.postgresql.org; Thu, 30 May 2019 21:46:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hWSsg-0003QA-BH for pgsql-general@arkaria.postgresql.org; Thu, 30 May 2019 21:46:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWSpN-0003oO-Tm for pgsql-general@lists.postgresql.org; Thu, 30 May 2019 21:43:13 +0000 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWSpI-0002N5-CA for pgsql-general@lists.postgresql.org; Thu, 30 May 2019 21:43:13 +0000 Received: by mail-io1-xd43.google.com with SMTP id x24so6422131ion.5 for ; Thu, 30 May 2019 14:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=U7rU+yuVmnT4CUqxwH8YOuCSCr25f7aANjrDDRG9mHo=; b=Fs+4vnCJfl87mIkxmOm3+j/Y+9Aud4EkqoDjyN0jorHMmBz9o6zzwdcvARW38TJ+UU YO+Zsd+yUI5HtY9BnqVk0TX5hOKx576BX0sC/pntTVLLuffgCTiHxPWAKKoOvf5lfNz7 +xU2fIuzKyzO1+GmYBDWFh6HJCr9lK7JyOX+XCpn+xywoxzO+wVCEhI9m4HZvU73j0ie HoC9WKFjIe24NaQSLQt32Nd4r3jsmalvUd3/manla6HrqwO9szSqZMwXackDZk0DfQTB E2sUfuKpjbdFfiEaabaNlgaU2G8R2LPqxgyU5/0cxffhQW2JeYxovP0zpgx7hmFiZyZR 1vlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=U7rU+yuVmnT4CUqxwH8YOuCSCr25f7aANjrDDRG9mHo=; b=LJoMmQsO+fSzCJWMG2XrDUUeKXsWizl5cyp9QrMyLi6cVaP8nG/v3B0kljO/e17Gcc 0bq89S11kYymUL/5DdeL2elxyzZIduCcETQeBQ96qCL3VD8ZmEMqP5cFQyeV5gvxbSRj OI4RvkCnLcbtF4s4IUVVZn1xi5dho5AxN6imxKbb1W1WY+Dm/00HkbGWPWYTqTQQc4ch e8AimqfZAAW/lgn+8jXFCcXn/uTpKN5OZyGvfclnk8HG9kAXTvvW6voFNM0f7aVcN1v4 xrhoi3O2ogAFs8ViT9nmuxtjPZboyZUoCr4O0lxg7GLY3EFv5kgFzbqzbobDlmW2sMpQ H+TQ== X-Gm-Message-State: APjAAAWkz+TzmOSCmYeg+uJz3fRZi6IbiW7Gj5eadNASj0w6U3H7bpk4 DsrERR6X5EYkyeuE/5cT1oFk8DeTlkU= X-Google-Smtp-Source: APXvYqyUleRd9oE1LnoDTv7/07OpMTu/H8i6YIwCfcizh23XlonMYaJMkvg3ySQPA6WcJjClsKNdlg== X-Received: by 2002:a6b:7d09:: with SMTP id c9mr4577134ioq.245.1559252585860; Thu, 30 May 2019 14:43:05 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([72.139.62.74]) by smtp.gmail.com with ESMTPSA id t132sm1773003ita.19.2019.05.30.14.43.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 May 2019 14:43:05 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 714FC12061E; Thu, 30 May 2019 14:49:05 -0400 (-04) Date: Thu, 30 May 2019 14:49:05 -0400 From: Alvaro Herrera To: Yonatan Misgan Cc: "pgsql-general@lists.postgresql.org" Subject: Re: Localization Message-ID: <20190530184905.GA23475@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-May-30, Yonatan Misgan wrote: > Hello Dear, how are you doing? I am Yonathan Misgan from Ethiopia. > Currently I am working on open source database localization. I highly > requested your advice on how to support my hard code in PostgreSQL. I > am developed Ethiopian locales after all I have difficulties on how to > use this locale. How can am I include the locales into the developed > environment. I mean where I put and how can I use this my own locale > file. For example, I have the resource files of Ethiopian locale (the > XML file) and the hard code part for the calendar but where I put this > file in PostgreSQL to access as Ethiopian locale and in what format > also I need to put. Thank you. I'm not sure what's the localization XML you're talking about -- we don't have any such thing in Postgres. We do have localization in Postgres, but it's used for error messages, the output of --help of various programs, and so on. The way to start there is to see https://babel.postgresql.org about getting your language added; there are other important links in that page also. If that's not what you meant, I think you'll have to explain more. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services