snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11k stars 3.17k forks source link

Importing with another language #15587

Open LucasLinnasHogia opened 3 weeks ago

LucasLinnasHogia commented 3 weeks ago

Debug mode

Describe the bug

I'm having issues importing with another language than english. We are trying to import using Swedish and it's not working. I cant use the swedish words as the header because they contain ÅÄÖ. When I'm using the english template I also run into issues.

I also don't get Model number to work while importing, when using model number it says use ID.

Reproduction steps

  1. Change the csv header to contain a word with ÅÄÖ

  2. Try to load the import file and it will result in an error

  3. Try importing using only model number and define whats inside the model no.

Expected behavior

I want the import to fulfill

Screenshots

image image

Snipe-IT Version

v7.0.12 build 15249 (g713bb104e)

Operating System

Windows

Web Server

IIS

PHP Version

8.1.28

snipe commented 3 weeks ago

Hm, I'm not able to reproduce that. I used ÅÄÖ as a table header (just to check) and it seems to have worked.

Screenshot 2024-10-01 at 1 23 49 PM
snipe commented 3 weeks ago

Maybe try pulling from latest? I don't think this is actually an encoding problem in testing this.

LucasLinnasHogia commented 3 weeks ago

Here's my file maybe I'm doing something wrong? Inleverans.csv

snipe commented 3 weeks ago

Did you pull from latest?

snipe commented 3 weeks ago

Can you give me a translation for the headers so I know what I'm looking at?

LucasLinnasHogia commented 2 weeks ago

Sorry for the late response ofcourse, I have not done a pull request. I don't really know how to do, we are currently thinking about buying support license.

Tillgång namn: Asset name Asset tag: Asset tag Serienummer: Serial number Modell nr.: Model number Plats: Location modell noteringar: Notes Företag: Company Status: status Order nummer: order number Inköpsdatum: Purchase date Köpkostnad: purchase cost Leverantör: supplier