pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to change the program language


From: Alan Mead
Subject: Re: how to change the program language
Date: Wed, 22 May 2024 13:53:02 -0500
User-agent: Mozilla Thunderbird

Current (and foreseeable) AI models ALWAYS make up answers, and these made-up answers are usually superficially plausible. So, you should ALWAYS verify the results. The chat interface also makes it easier to correct the model (in the moment and until you exceed the "context window"), which is why I posted my prompt.

If you are posting untested output, I think it's important to label it as such.

If you have verified that the output is not correct, I would discourage you from posting to this list (or anywhere). It shouldn't surprise anyone that these models hallucinate.

I'm curious if anyone one the list has used an AI model to create PSPP/SPSS syntax? I hardly write any R code anymore. I just tell ChatGPT what I want to do ("In R, how do I create a new dummy coded variable for education?") and the resulting syntax works at least 90% of the time (for my questions). I just did a couple trials and either I know PSPP/SPSS better and can spot the inefficiencies better or it's worse at generating PSPP/SPSS syntax. It gave me a very convoluted answer to dummy coding. It did better at how to create a multiple regression equation and reading CSV.  When I prompted it to use "recode" for creating dummy codes, it produced good output.

BTW, it produced about the same output for prompts beginning with "In SPSS, ..." and with "In PSPP, ..." I was worried that it would "know" less about PSPP but that is not apparent in (very) light testing.

Again, I wouldn't ever want to assume that output from current AI models are correct without verifying it. And you need to know where to paste the output and how to adapt it (so it's not a panacea for knowing nothing about PSPP).

-Alan


On 5/22/24 12:15, ft gmail wrote:
Following Alan's idea I tried ChatGPT and got the remarkable answer:

1. Open PSPP on your computer.
 2. Go to the “Options” or “Settings” menu.
 3. Look for the language or localization option.
 4. Select the language you want to use in the interface.
 5. Save the changes and restart PSPP for the changes to take effect.

There is no language /localisation setting in PSPP Options. I use PSPP 2.0.0-g4c33fd

 - ftr

Le 22/05/2024 à 19:07, Ben Pfaff a écrit :
It's definitely possible on GNU/Linux to have every program in a
different language. It should be possible on Windows as well if you
can set environment variables differently for each program.

On Wed, May 22, 2024 at 10:05 AM Ксения Буденная <budennaya.ks@gmail.com> wrote:

I think this is impossible, the program takes the system language




Ксения Буденная
ВСБ-ДОН
+380502626352
+330753856778



Ср, 22 мая 2024 г. в 18:52, ft gmail <public.ftr@gmail.com>:
Hi,

Do i understand well that this would change the interface language for all Windows programs ?

I work with Windows 11 OS in French and want to work with PSPP in English.

How to make that I get only PSPP in English , and not changing the entire  OS interface language?

- ftrso

Le 22/05/2024 à 18:27, Alan Mead a écrit :

The official PSPP docs say: https://www.gnu.org/software/pspp/faq.html#Language

I asked ChatGPT how to apply this to Windows 10 and here's what it said. Obviously, this may not be correct/fully correct.

-Alan

To configure the PSPP interface language on Windows 10, follow these steps:

1. **Open the Control Panel:**
    - Press `Win + R` to open the Run dialog.
    - Type `control` and press Enter.

2. **Change the Region and Language Settings:**
    - Go to **Clock and Region**.
    - Click on **Region**.
    - In the **Formats** tab, click on **Additional settings** if needed to access more detailed settings.     - Switch to the **Administrative** tab and click on **Change system locale**.     - Select the desired language (e.g., Portuguese). Click OK and restart your computer if prompted.

3. **Verify the Environment Variable:**
    - Open **File Explorer** and right-click on **This PC**, then select **Properties**.
    - Click on **Advanced system settings**.
    - In the System Properties window, go to the **Advanced** tab and click on **Environment Variables**.     - In the Environment Variables window, check if there is a variable named `LANG`. If not, click **New** under the System variables section.     - Set the variable name to `LANG` and the value to `pt_PT` (for Portuguese spoken in Portugal) or `pt_BR` (for Brazilian Portuguese). Click OK to save.

4. **Restart PSPP:**
    - Close PSPP if it is open and then restart it. The interface should now display in the selected language.

This should configure PSPP to display in the language you have set in the Windows environment.

PROMPT


This is advice about a Linux-oriented software package. What advice should I give Windows 10 users?
##
How do I configure the PSPP interface language?
PSPP respects the locale of the environment. So if, for example, your operating system (or the currently logged in user) is set to Portuguese, then that is what PSPP will display.

How you change the environment's locale depends on the operating system. For example, on GNU or on GNU/Linux you could use the command export LANG=pt_PT (for Portuguese spoken in Portugal) or export LANG=pt_BR for Brazillian Portuguese. This should also work for all operating systems which are POSIX compliant. For others, you will have to refer to your OS documentation.


On 5/22/24 11:15, Alan Mead wrote:

Does this work for you?

https://lists.gnu.org/archive/html/pspp-users/2014-09/msg00011.html

If not, reply to this note and let us know what happens. PSPP builds on Linux, so the devs have limited Windows access/experience.

-Alan

On 5/22/24 10:29, Ксения Буденная wrote:




Hello, how can I change the language in PSPP? The program was installed in English, but I need Ukrainian. Windows operating system. Thank you!

--

Alan D. Mead, Ph.D.
President, Talent Algorithms Inc.

science + technology = better workers

https://talalg.com


He who confuses political liberty with freedom and political equality
with similarity has never thought for five minutes about either.

-- Shaw, from "Maxims for Revolutionists"


--

Alan D. Mead, Ph.D.
President, Talent Algorithms Inc.

science + technology = better workers

https://talalg.com


He who confuses political liberty with freedom and political equality
with similarity has never thought for five minutes about either.

-- Shaw, from "Maxims for Revolutionists"



--

Alan D. Mead, Ph.D.
President, Talent Algorithms Inc.

science + technology = better workers

https://talalg.com


He who confuses political liberty with freedom and political equality
with similarity has never thought for five minutes about either.

-- Shaw, from "Maxims for Revolutionists"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]