# Getting Ignition Root Folder

**URL:** <https://forum.inductiveautomation.com/t/getting-ignition-root-folder/90004>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [May 7, 2024, 8:55am UTC](https://forum.inductiveautomation.com/t/getting-ignition-root-folder/90004 "2024-05-07T08:55:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [May 7, 2024, 9:36am UTC](https://forum.inductiveautomation.com/t/getting-ignition-root-folder/90004/2 "2024-05-07T09:36:46Z")

</div>

ive gotten the path to some json files(views) with this, in the past, so idk if it still hold for the last updates, but i guess it should

```python
	from com.inductiveautomation.ignition.gateway import IgnitionGateway
		
	context = IgnitionGateway.get()
	pathToProjectFolder = str(context.systemManager.dataDir.absoluteFile).replace('\\','/') + '/projects'	
	pathToProject = pathToProjectFolder + "/" + system.perspective.getProjectInfo().name + "/com.inductiveautomation.perspective/views/"

```

(used it for finding translation keys)

> [@Export all component text used in Ignition](https://forum.inductiveautomation.com/t/export-all-component-text-used-in-ignition/53668/4):
>
> Here is a script i used to automatically add all text values to the translate manager in perspective By checking the resource files… warning this may take a while xd import os import json from com.inductiveautomation.ignition.gateway import IgnitionGateway from com.inductiveautomation.ignition.gateway.script import GatewaySystemUtilities package = IgnitionGateway.get().getLocalizationManager().loadFullPackage() oldKeys = package.getAvailableKeys() context = IgnitionGateway.get() path…

---

_[View the full topic](https://forum.inductiveautomation.com/t/getting-ignition-root-folder/90004)._
