In addition to managing language translations for multilingual websites, the Translator tool also manages global variables.
Open the translator section of the application inside Media Factory and open the var section:
The following table describes each of these variables, and identifies which ones MUST be changed:
variable | change required | possible values | notes |
---|---|---|---|
allowedFiletypesComment | no | ['1','2','3,'4'] | Sets the types of files accepted as comments (1=image, 2=video, 3=audio, 4=text) |
allowedFiletypesEnter | no | ['1','2','3,'4'] | Sets the types of files accepted as uploads (1=image, 2=video, 3=audio, 4=text) |
anonymousComments | no | 'true' or 'false' | Determines whether your site will accept anonymous comments |
appName | yes | The name of your community | Sets the name of the application that is used within the application |
channelComments | yes | ID of the 'Comments' channel you created | Sets the base channel for the comments. If this value isn't changed, the site will break |
channelContent | yes | ID of the 'Content' channel you created | Sets the base channel for uploads. If this value isn't changed, the site will break |
collectionFeatured | yes | ID of the 'Featured' collection you created | Sets the collection used to populate featured content across all groups, including the homepage featured item. Tip: Use a saved search to automate the featured items across your website! |
fbConnect | no | 'true' or 'false' | Anything other then 'true' will hide all Facebook buttons and information |
fblang | no | en_US | Used to tell Facebook the language of our site |
fbMessageLink | no | channels | This page name is used when directing Facebook users to your channels gallery |
fileSizeLimit | no | int >0 in MB (default 50) | The maximum file size accepted by the uploader. Can be up to 1000MB, but very large files can negatively impact user experience. |
file_upload_limit | no | integer | The maximum number of files that can be uploaded at once. |
galleryGroupFilter | yes | Group ID | The ID of the top-level group to be included in the application. All child groups are also included. |
groupListSort | no | sort parameter | Determines how groups are sorted on media details pages. (of approvedmediacount, notdeniedmediacount) |
imageResizeUrlLive | no | http://cimg.filemobile.com | The address of the service to fetch resized images. FM support only, do not change. |
imageResizeUrlStaging | no | http://mf.staging.filemobile.com | The address of the service to fetch resized images. FM support only, do not change. |
lang | no | 'en', 'fr', etc... | Language code used to tell our application how to render multilingual content |
languageToggle | yes | The public URLs of your application | Used to toggle between languages. Note that the English URL is on the French side, and vice versa. |
maxDescriptionLength | no | int > 0 | Maximum number of characters allowed in the description on /upload |
medialistCommentFiletype | no | 1,2,3,4 | Types of comments to appear in comment lists |
moderationComment | no | 'approved' or 'notdenied' | 'approved' will only show approved comments, 'notdenied' will show approved and unmoderated comments |
moderationGroups | no | 'approved' or 'notdenied' | 'approved' will only show approved media, 'notdenied' will show approved and unmoderated media |
moderationMedia | no | 'approved' or 'notdenied' | 'approved' will only show approved groups, 'notdenied' will show approved and unmoderated group |
multimediaComments | no | 'true' or 'false' | Select whether your community will allow multimedia comments |
pending | no | 'true' or 'false' | Determines whether users can see their unmoderated content on their own dashboard. |
privacy | no | 'true' or 'false' | Determines whether users can set their content as hidden. |
subChannelUpload | yes | 'true' or 'false' | Only valid as false if you are NOT using groups for uploading - this should be set to true in most cases. |
shareEmail | no | no-reply@yourdomain.com | When people send email to each other from within the contest, this is the "from" address |
subChannelUpload | no | 'true' or 'false' | If you have entry sub channels you'll want to set this to 'true' so users can choose what category their entries belong to. If you don't have sub channels, leave it set to 'false' so the 'Entries' channel will be automatically chosen |
transcoderHD | no | int > 0 | DEPRECATED - This is the transcoder profile ID for HD video. Leave this blank if you don't want to display the SD/HD toggle on /mediadetail |
transcoderSD | no | int > 0 | This is the transcoder profile ID for videos. The default is 22, but you can also set up custom transcoder profiles. |
transcoderThumb | no | int > 0 (default 15) | This is the transcoder profile ID for video thumbnails. Change this if you have created a custom transcoder profile for watermarks or other effects. |
uploadTo | no | groups | Determines whether users are presented with groups or channel upload interface. The default and recommended setting is groups. |
webcamComment | no | 'true' or 'false' | Anything other then 'true' will hide the webcam in the comments |
webcamUpload * | no | 'true' or 'false' | Anything other then 'true' will hide the webcam in the upload |
* Caution: Webcam upload is beta only.