From wiki.ginstr.com
(Redirected from Strings.xml)
Jump to: navigation, search

strings.xml

strings.xml is an XML file which holds all string translations of specific text for ginstr app.

By default one entry has to be set when generating ginstr app strings.xml

appId
identifier value is equal to ginstr app zip name
<?xml version="1.0" encoding="utf-8"?>
<resources>
  <string name="{appId}">App Name</string>
</resources>

Location of strings.xml

strings.xml should be saved in "values" folder in ginstr app root folder.

Obligatory strings

<string name="in_appName">name of the application</string>
defines name of ginstr app that will be shown in "about" screen
<string name="enterAppIdHere">shortcut app name</string>
defines name of the ginstr app which will be shown in shortcut on homescreen. name= write app id of ginstr app you’re currently developing
<string name="appName">name of the application</string>
defines name of the ginstr app which will be used in app
<string name="appNameShortcut">shortcut app name</string>
defines name of the ginstr app which will be shown in shortcut (not used at present but still obligatory when we switch from enterAppIdHere)

Further reading

String Naming Convention