-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(locale): add sl_SI locale, location module #3652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ST-DDT
merged 34 commits into
faker-js:next
from
ZigaVukcevicDev:feat/locale-sl-SI-location
Apr 6, 2026
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
deb104b
feat(locale):add person prefix
ZigaVukcevicDev 5d57c6e
Add person sex
ZigaVukcevicDev db25e50
Add last name pattern
ZigaVukcevicDev 9b9e2d4
Add metadata
ZigaVukcevicDev 36b85a9
Add generated files
ZigaVukcevicDev 14bdc19
Add first and last names
ZigaVukcevicDev 3060fd9
Convert sex to lowercase
ZigaVukcevicDev 10eeec9
Update snapshot
ZigaVukcevicDev 6e6640c
Add suffix
ZigaVukcevicDev 0e7401c
Add bio, jobType
ZigaVukcevicDev 0064939
Add jobArea
ZigaVukcevicDev 7547872
Add jobDescriptor, jobTitle
ZigaVukcevicDev 16de2e7
Add zodiacSign
ZigaVukcevicDev b974865
Fix wrongly edited files
ZigaVukcevicDev bedddc5
Fix more files
ZigaVukcevicDev 96565ad
Add location
ZigaVukcevicDev c9f71d1
Add person sex
ZigaVukcevicDev e136c4b
Convert sex to lowercase
ZigaVukcevicDev 3a1bdb4
Add bio, jobType
ZigaVukcevicDev 325fe2a
Add jobDescriptor, jobTitle
ZigaVukcevicDev 0549571
Fix wrongly edited files
ZigaVukcevicDev 9c86cf9
Fix more files
ZigaVukcevicDev 9f52678
Add location
ZigaVukcevicDev 6297a9c
Merge branch 'feat/locale-sl-SI-location' of https://github.com/ZigaV…
ZigaVukcevicDev 8cbb218
Merge branch 'next' into feat/locale-sl-SI-location
ZigaVukcevicDev add99a2
Merge branch 'next' into feat/locale-sl-SI-location
matthewmayer 4a361a6
fix(locale): correct spelling of 'Brežice' in city names
ZigaVukcevicDev 3a434ac
fix(locale): update 'Salvador' to 'El Salvador' in country names
ZigaVukcevicDev d41a18a
fix(locale): remove 'Antarktika' from country names
ZigaVukcevicDev 76caafc
fix(locale): add 'št.' to 'stanovanje' in secondary address format
ZigaVukcevicDev a78e1d1
fix(locale): reorder state abbreviations and correct comments in sl_S…
ZigaVukcevicDev 90ed90a
fix(locale): update street names in sl_SI locale for consistency
ZigaVukcevicDev a65b03d
Merge branch 'next' into feat/locale-sl-SI-location
ZigaVukcevicDev b3b63b8
Merge branch 'next' into feat/locale-sl-SI-location
ST-DDT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export default ['###', '##', '#', '##a', '##b', '##c']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| export default [ | ||
| 'Ajdovščina', | ||
| 'Beltinci', | ||
| 'Bled', | ||
| 'Bovec', | ||
| 'Brežice', | ||
| 'Celje', | ||
| 'Cerknica', | ||
| 'Cerkno', | ||
| 'Črnomelj', | ||
| 'Domžale', | ||
| 'Dravograd', | ||
| 'Gornja Radgona', | ||
| 'Grosuplje', | ||
| 'Hrastnik', | ||
| 'Idrija', | ||
| 'Ilirska Bistrica', | ||
| 'Izola', | ||
| 'Jesenice', | ||
| 'Kamnik', | ||
| 'Kočevje', | ||
| 'Koper', | ||
| 'Kranj', | ||
| 'Krško', | ||
| 'Laško', | ||
| 'Lenart', | ||
| 'Litija', | ||
| 'Ljutomer', | ||
| 'Logatec', | ||
| 'Lukovica', | ||
| 'Maribor', | ||
| 'Medvode', | ||
| 'Metlika', | ||
| 'Mežica', | ||
| 'Murska Sobota', | ||
| 'Nova Gorica', | ||
| 'Novo mesto', | ||
| 'Piran', | ||
| 'Postojna', | ||
| 'Ptuj', | ||
| 'Radlje ob Dravi', | ||
| 'Radovljica', | ||
| 'Ravne na Koroškem', | ||
| 'Ribnica', | ||
| 'Ruše', | ||
| 'Sevnica', | ||
| 'Sežana', | ||
| 'Slovenj Gradec', | ||
| 'Slovenska Bistrica', | ||
| 'Slovenske Konjice', | ||
| 'Šempeter pri Gorici', | ||
| 'Šenčur', | ||
| 'Šentjur', | ||
| 'Škofja Loka', | ||
| 'Šoštanj', | ||
| 'Štore', | ||
| 'Tolmin', | ||
| 'Trbovlje', | ||
| 'Trebnje', | ||
| 'Tržič', | ||
| 'Velenje', | ||
| 'Vipava', | ||
| 'Vrhnika', | ||
| 'Zagorje ob Savi', | ||
| 'Žalec', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export default ['{{location.city_name}}']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,127 @@ | ||
| export default [ | ||
| 'Afganistan', | ||
| 'Albanija', | ||
| 'Alžirija', | ||
| 'Andora', | ||
| 'Angola', | ||
| 'Argentina', | ||
| 'Armenija', | ||
| 'Aruba', | ||
| 'Avstralija', | ||
| 'Avstrija', | ||
| 'Azerbajdžan', | ||
| 'Bahami', | ||
| 'Bangladeš', | ||
| 'Barbados', | ||
| 'Belgija', | ||
| 'Belorusija', | ||
| 'Bermudi', | ||
| 'Bolgarija', | ||
| 'Bolivija', | ||
| 'Bosna in Hercegovina', | ||
| 'Brazilija', | ||
| 'Čile', | ||
| 'Črna gora', | ||
| 'Češka', | ||
| 'Ciper', | ||
| 'Danska', | ||
| 'Dominikanska republika', | ||
| 'Egipt', | ||
| 'Ekvador', | ||
| 'Estonija', | ||
| 'Etiopija', | ||
| 'Fidži', | ||
| 'Filipini', | ||
| 'Finska', | ||
| 'Francija', | ||
| 'Grčija', | ||
| 'Gruzija', | ||
| 'Gvatemala', | ||
| 'Gvineja', | ||
| 'Haiti', | ||
| 'Hrvaška', | ||
| 'Indija', | ||
| 'Indonezija', | ||
| 'Iran', | ||
| 'Irak', | ||
| 'Irska', | ||
| 'Islandija', | ||
| 'Izrael', | ||
| 'Italija', | ||
| 'Jamajka', | ||
| 'Japonska', | ||
| 'Jordanija', | ||
| 'Kajmanski otoki', | ||
| 'Kambodža', | ||
| 'Kanada', | ||
| 'Kazahstan', | ||
| 'Kenija', | ||
| 'Kolumbija', | ||
| 'Kostarika', | ||
| 'Kuba', | ||
| 'Kuvajt', | ||
| 'Katar', | ||
| 'Laos', | ||
| 'Latvija', | ||
| 'Liberija', | ||
| 'Libanon', | ||
| 'Libija', | ||
| 'Litva', | ||
| 'Luksemburg', | ||
| 'Madagaskar', | ||
| 'Madžarska', | ||
| 'Malezija', | ||
| 'Maldivi', | ||
| 'Malta', | ||
| 'Maroko', | ||
| 'Mavricij', | ||
| 'Mehika', | ||
| 'Moldavija', | ||
| 'Monako', | ||
| 'Mongolija', | ||
| 'Namibija', | ||
| 'Nepal', | ||
| 'Nigerija', | ||
| 'Nikaragva', | ||
| 'Nizozemska', | ||
| 'Norveška', | ||
| 'Oman', | ||
| 'Pakistan', | ||
| 'Palestina', | ||
| 'Panama', | ||
| 'Paragvaj', | ||
| 'Peru', | ||
| 'Poljska', | ||
| 'Portugalska', | ||
| 'Romunija', | ||
| 'Rusija', | ||
| 'Salomonovi otoki', | ||
| 'El Salvador', | ||
| 'Savdska Arabija', | ||
| 'Severna Makedonija', | ||
| 'Sejšeli', | ||
| 'Singapur', | ||
| 'Slovaška', | ||
| 'Slovenija', | ||
| 'Somalija', | ||
| 'Sudan', | ||
| 'Srbija', | ||
| 'Sirija', | ||
| 'Španija', | ||
| 'Švedska', | ||
| 'Švica', | ||
| 'Tadžikistan', | ||
| 'Tajska', | ||
| 'Tanzanija', | ||
| 'Tunizija', | ||
| 'Turčija', | ||
| 'Ukrajina', | ||
| 'Urugvaj', | ||
| 'Uzbekistan', | ||
| 'Venezuela', | ||
| 'Vietnam', | ||
| 'Zambija', | ||
| 'Združene države Amerike', | ||
| 'Združeni arabski emirati', | ||
| 'Združeno kraljestvo', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| export default { | ||
| cardinal: ['Sever', 'Vzhod', 'Jug', 'Zahod'], | ||
| cardinal_abbr: ['S', 'V', 'J', 'Z'], | ||
| ordinal: ['Severovzhod', 'Severozahod', 'Jugovzhod', 'Jugozahod'], | ||
| ordinal_abbr: ['SV', 'SZ', 'JV', 'JZ'], | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| /* | ||
| * This file is automatically generated. | ||
| * Run 'pnpm run generate:locales' to update. | ||
| */ | ||
| import type { LocationDefinition } from '../../..'; | ||
| import building_number from './building_number'; | ||
| import city_name from './city_name'; | ||
| import city_pattern from './city_pattern'; | ||
| import country from './country'; | ||
| import direction from './direction'; | ||
| import language from './language'; | ||
| import postcode from './postcode'; | ||
| import secondary_address from './secondary_address'; | ||
| import state from './state'; | ||
| import state_abbr from './state_abbr'; | ||
| import street_address from './street_address'; | ||
| import street_name from './street_name'; | ||
| import street_pattern from './street_pattern'; | ||
|
|
||
| const location: LocationDefinition = { | ||
| building_number, | ||
| city_name, | ||
| city_pattern, | ||
| country, | ||
| direction, | ||
| language, | ||
| postcode, | ||
| secondary_address, | ||
| state, | ||
| state_abbr, | ||
| street_address, | ||
| street_name, | ||
| street_pattern, | ||
| }; | ||
|
|
||
| export default location; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| export default [ | ||
| { name: 'afrikanščina', alpha2: 'af', alpha3: 'afr' }, | ||
| { name: 'albanščina', alpha2: 'sq', alpha3: 'sqi' }, | ||
| { name: 'angleščina', alpha2: 'en', alpha3: 'eng' }, | ||
| { name: 'arabščina', alpha2: 'ar', alpha3: 'ara' }, | ||
| { name: 'armenščina', alpha2: 'hy', alpha3: 'hye' }, | ||
| { name: 'bengalščina', alpha2: 'bn', alpha3: 'ben' }, | ||
| { name: 'češčina', alpha2: 'cs', alpha3: 'ces' }, | ||
| { name: 'danščina', alpha2: 'da', alpha3: 'dan' }, | ||
| { name: 'estonščina', alpha2: 'et', alpha3: 'est' }, | ||
| { name: 'finščina', alpha2: 'fi', alpha3: 'fin' }, | ||
| { name: 'francoščina', alpha2: 'fr', alpha3: 'fra' }, | ||
| { name: 'grščina', alpha2: 'el', alpha3: 'ell' }, | ||
| { name: 'hindijščina', alpha2: 'hi', alpha3: 'hin' }, | ||
| { name: 'hrvaščina', alpha2: 'hr', alpha3: 'hrv' }, | ||
| { name: 'indonezijščina', alpha2: 'id', alpha3: 'ind' }, | ||
| { name: 'islandščina', alpha2: 'is', alpha3: 'isl' }, | ||
| { name: 'italijanščina', alpha2: 'it', alpha3: 'ita' }, | ||
| { name: 'japonščina', alpha2: 'ja', alpha3: 'jpn' }, | ||
| { name: 'kazahstanščina', alpha2: 'kk', alpha3: 'kaz' }, | ||
| { name: 'kitajščina', alpha2: 'zh', alpha3: 'zho' }, | ||
| { name: 'korejščina', alpha2: 'ko', alpha3: 'kor' }, | ||
| { name: 'latvijščina', alpha2: 'lv', alpha3: 'lav' }, | ||
| { name: 'madagaskarščina', alpha2: 'mg', alpha3: 'mlg' }, | ||
| { name: 'madžarščina', alpha2: 'hu', alpha3: 'hun' }, | ||
| { name: 'makedonščina', alpha2: 'mk', alpha3: 'mkd' }, | ||
| { name: 'maldivščina', alpha2: 'dv', alpha3: 'div' }, | ||
| { name: 'mongolščina', alpha2: 'mn', alpha3: 'mon' }, | ||
| { name: 'nepalščina', alpha2: 'ne', alpha3: 'nep' }, | ||
| { name: 'nemščina', alpha2: 'de', alpha3: 'deu' }, | ||
| { name: 'norveščina', alpha2: 'no', alpha3: 'nor' }, | ||
| { name: 'poljščina', alpha2: 'pl', alpha3: 'pol' }, | ||
| { name: 'portugalščina', alpha2: 'pt', alpha3: 'por' }, | ||
| { name: 'romunščina', alpha2: 'ro', alpha3: 'ron' }, | ||
| { name: 'ruščina', alpha2: 'ru', alpha3: 'rus' }, | ||
| { name: 'srbščina', alpha2: 'sr', alpha3: 'srp' }, | ||
| { name: 'slovenščina', alpha2: 'sl', alpha3: 'slv' }, | ||
| { name: 'španščina', alpha2: 'es', alpha3: 'spa' }, | ||
| { name: 'švedščina', alpha2: 'sv', alpha3: 'swe' }, | ||
| { name: 'ukrajinščina', alpha2: 'uk', alpha3: 'ukr' }, | ||
| { name: 'uzbeščina', alpha2: 'uz', alpha3: 'uzb' }, | ||
| { name: 'vietnamščina', alpha2: 'vi', alpha3: 'vie' }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export default ['####']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| export default [ | ||
| 'stanovanje št. ###', | ||
| 'nadstropje #', | ||
| 'apartma ###', | ||
| 'pisarna ###', | ||
| ]; |
|
ZigaVukcevicDev marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| export default [ | ||
| 'Gorenjska', | ||
| 'Goriška', | ||
| 'Jugovzhodna Slovenija', | ||
| 'Koroška', | ||
| 'Obalno-kraška', | ||
| 'Osrednjeslovenska', | ||
|
ZigaVukcevicDev marked this conversation as resolved.
|
||
| 'Podravska', | ||
| 'Pomurska', | ||
| 'Posavska', | ||
| 'Primorsko-notranjska', | ||
| 'Savinjska', | ||
| 'Zasavska', | ||
| ]; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| export default [ | ||
| 'GZ', // Gorenjska | ||
| 'GO', // Goriška | ||
| 'JV', // Jugovzhodna Slovenija | ||
| 'KA', // Koroška | ||
| 'KR', // Obalno-kraška | ||
| 'OS', // Osrednjeslovenska | ||
| 'MB', // Podravska | ||
| 'MS', // Pomurska | ||
| 'PO', // Posavska | ||
| 'PS', // Primorsko-notranjska | ||
| 'SG', // Savinjska | ||
| 'ZA', // Zasavska | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| export default { | ||
| normal: '{{location.street}} {{location.buildingNumber}}', | ||
| full: '{{location.street}} {{location.buildingNumber}} {{location.secondaryAddress}}', | ||
| }; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.